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 (20 years, 2 months 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

# User Rev Content
1 mmeineke 899 LBIN =/usr/local/bin
2 mmeineke 662 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 mmeineke 1121 PICTURES = dynamicPropsMem.eps
12 mmeineke 662
13 mmeineke 714 # list section files in order of inclusion
14     INFILES = preamble.tex \
15 mmeineke 899 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 mmeineke 662
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 mmeineke 899 dview:: ${PAPER_ROOT}.view
48    
49 mmeineke 664 current:: current.psview
50    
51 mmeineke 662 outline:: ${OUTLINE}.view
52    
53     gs:: ${PAPER_ROOT}.psview
54    
55     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
56    
57 mmeineke 899 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
58 mmeineke 714 /bin/rm -rf ${PAPER_ROOT}.tex
59     for i in ${INFILES}; \
60 mmeineke 715 do cat $$i >> ${PAPER_ROOT}.tex; \
61 mmeineke 714 done;
62 mmeineke 899
63     ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
64 mmeineke 662 $(LC) ${PAPER_ROOT}
65     $(BC) ${PAPER_ROOT}
66     $(LC) ${PAPER_ROOT}
67     $(LC) ${PAPER_ROOT}
68    
69 mmeineke 664 current.psview: current.ps
70     ${PSVIEWER} current.ps
71    
72 mmeineke 662 ${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 mmeineke 737 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
80 mmeineke 662
81