ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/oopsePaper/Makefile
Revision: 776
Committed: Fri Sep 19 19:23:17 2003 UTC (20 years, 9 months ago) by chrisfen
File size: 1381 byte(s)
Log Message:
Just added to the make file...

File Contents

# Content
1 LBIN =/usr/local/teTeX/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 ssd.tex \
18 integrator.tex \
19 DUFF.tex \
20 analysis.tex \
21 acknowledgements.tex \
22 bibEnd.tex
23
24 #
25 # A very cool hack to "do the right thing":
26 PSVIEWER = ghostview
27 #
28 #
29 # standard rules:
30 #
31 .dvi.ps:
32 touch $*.ps
33 /bin/rm $*.ps
34 @echo "compiling $*"
35 $(D2PS) -o $*.ps $<
36
37 .dvi.pdf:
38 touch $*.pdf
39 /bin/rm $*.pdf
40 @echo "compiling $*"
41 $(D2PDF) $< $*.pdf
42
43 all:: ${PAPER_ROOT}.psview
44
45 current:: current.psview
46
47 outline:: ${OUTLINE}.view
48
49 gs:: ${PAPER_ROOT}.psview
50
51 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
52
53 ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
54 /bin/rm -rf ${PAPER_ROOT}.tex
55 for i in ${INFILES}; \
56 do cat $$i >> ${PAPER_ROOT}.tex; \
57 done;
58 $(LC) ${PAPER_ROOT}
59 $(BC) ${PAPER_ROOT}
60 $(LC) ${PAPER_ROOT}
61 $(LC) ${PAPER_ROOT}
62
63 current.psview: current.ps
64 ${PSVIEWER} current.ps
65
66 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
67 ${PSVIEWER} ${PAPER_ROOT}.ps
68
69 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
70 $(XDVI) -fg black ${PAPER_ROOT}
71
72 clean::
73 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
74
75