ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 1121
Committed: Mon Apr 19 21:00:24 2004 UTC (21 years ago) by mmeineke
File size: 1486 byte(s)
Log Message:
Just copied over the changes from the dissertation.
Also converted the figures to pdf.
All revisions now take place on the oopsePaper.tex file

File Contents

# Content
1 LBIN =/usr/local/bin
2 LC = $(LBIN)/latex
3 BC = $(LBIN)/bibtex
4 D2PS = $(LBIN)/dvips
5 D2PDF = dvipdf
6 XDVI = $(LBIN)/xdvi
7
8 .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
9
10 PAPER_ROOT = oopse
11 PICTURES = dynamicPropsMem.eps
12
13 # list section files in order of inclusion
14 INFILES = preamble.tex \
15 TitleAbstract.tex \
16 Introduction.tex \
17 EmpericalEnergy.tex \
18 IOfiles.tex \
19 Mechanics.tex \
20 TrajectoryAnalysis.tex \
21 ProgramDesign.tex \
22 Conclusion.tex \
23 Acknowledgements.tex \
24 bibEnd.tex
25
26 #
27 # A very cool hack to "do the right thing":
28 PSVIEWER = ghostview
29 #
30 #
31 # standard rules:
32 #
33 .dvi.ps:
34 touch $*.ps
35 /bin/rm $*.ps
36 @echo "compiling $*"
37 $(D2PS) -o $*.ps $<
38
39 .dvi.pdf:
40 touch $*.pdf
41 /bin/rm $*.pdf
42 @echo "compiling $*"
43 $(D2PDF) $< $*.pdf
44
45 all:: ${PAPER_ROOT}.psview
46
47 dview:: ${PAPER_ROOT}.view
48
49 current:: current.psview
50
51 outline:: ${OUTLINE}.view
52
53 gs:: ${PAPER_ROOT}.psview
54
55 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
56
57 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
58 /bin/rm -rf ${PAPER_ROOT}.tex
59 for i in ${INFILES}; \
60 do cat $$i >> ${PAPER_ROOT}.tex; \
61 done;
62
63 ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
64 $(LC) ${PAPER_ROOT}
65 $(BC) ${PAPER_ROOT}
66 $(LC) ${PAPER_ROOT}
67 $(LC) ${PAPER_ROOT}
68
69 current.psview: current.ps
70 ${PSVIEWER} current.ps
71
72 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
73 ${PSVIEWER} ${PAPER_ROOT}.ps
74
75 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
76 $(XDVI) -fg black ${PAPER_ROOT}
77
78 clean::
79 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
80
81