ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 899
Committed: Tue Jan 6 18:53:58 2004 UTC (20 years, 6 months ago) by mmeineke
File size: 1510 byte(s)
Log Message:
reworked the directory structure to reflect the Outline of the paper. All major sections now have their
own 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 716 PICTURES = lipidModel.epsi \
12     dynamicPropsMem.eps
13 mmeineke 662
14 mmeineke 714 # list section files in order of inclusion
15     INFILES = preamble.tex \
16 mmeineke 899 TitleAbstract.tex \
17     Introduction.tex \
18     EmpericalEnergy.tex \
19     IOfiles.tex \
20     Mechanics.tex \
21     TrajectoryAnalysis.tex \
22     ProgramDesign.tex \
23     Conclusion.tex \
24     Acknowledgements.tex \
25     bibEnd.tex
26 mmeineke 662
27     #
28     # A very cool hack to "do the right thing":
29     PSVIEWER = ghostview
30     #
31     #
32     # standard rules:
33     #
34     .dvi.ps:
35     touch $*.ps
36     /bin/rm $*.ps
37     @echo "compiling $*"
38     $(D2PS) -o $*.ps $<
39    
40     .dvi.pdf:
41     touch $*.pdf
42     /bin/rm $*.pdf
43     @echo "compiling $*"
44     $(D2PDF) $< $*.pdf
45    
46     all:: ${PAPER_ROOT}.psview
47    
48 mmeineke 899 dview:: ${PAPER_ROOT}.view
49    
50 mmeineke 664 current:: current.psview
51    
52 mmeineke 662 outline:: ${OUTLINE}.view
53    
54     gs:: ${PAPER_ROOT}.psview
55    
56     print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
57    
58 mmeineke 899 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
59 mmeineke 714 /bin/rm -rf ${PAPER_ROOT}.tex
60     for i in ${INFILES}; \
61 mmeineke 715 do cat $$i >> ${PAPER_ROOT}.tex; \
62 mmeineke 714 done;
63 mmeineke 899
64     ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
65 mmeineke 662 $(LC) ${PAPER_ROOT}
66     $(BC) ${PAPER_ROOT}
67     $(LC) ${PAPER_ROOT}
68     $(LC) ${PAPER_ROOT}
69    
70 mmeineke 664 current.psview: current.ps
71     ${PSVIEWER} current.ps
72    
73 mmeineke 662 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
74     ${PSVIEWER} ${PAPER_ROOT}.ps
75    
76     ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
77     $(XDVI) -fg black ${PAPER_ROOT}
78    
79     clean::
80 mmeineke 737 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
81 mmeineke 662
82