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, 5 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

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