ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mattDisertation/Makefile
Revision: 1045
Committed: Tue Feb 10 20:52:03 2004 UTC (20 years, 4 months ago) by mmeineke
File size: 1609 byte(s)
Log Message:
added a lipid figure. started converting oopse.tex

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 = disertation
11 PICTURES = angular.eps \
12 eulerRotFig.eps \
13 hcp_lattice.eps \
14 octo-umbrella.eps \
15 peaks.eps \
16 shiftedPot.eps \
17 bentSmall.eps \
18 gofr.eps \
19 octopus.eps \
20 pbcFig.eps \
21 rCutMaxFig.eps \
22 t_umbrella.eps
23
24
25 # list section files in order of inclusion
26 INFILES = phdPreamble.tex \
27 Introduction.tex \
28 RSA.tex \
29 oopse.tex\
30 Conclusion.tex \
31 phdBib.tex
32
33 #
34 # A very cool hack to "do the right thing":
35 PSVIEWER = ghostview
36 #
37 #
38 # standard rules:
39 #
40 .dvi.ps:
41 touch $*.ps
42 /bin/rm $*.ps
43 @echo "compiling $*"
44 $(D2PS) -o $*.ps $<
45
46 .dvi.pdf:
47 touch $*.pdf
48 /bin/rm $*.pdf
49 @echo "compiling $*"
50 $(D2PDF) $< $*.pdf
51
52 all:: ${PAPER_ROOT}.psview
53
54 dview:: ${PAPER_ROOT}.view
55
56 current:: current.psview
57
58 outline:: ${OUTLINE}.view
59
60 gs:: ${PAPER_ROOT}.psview
61
62 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
63
64 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
65 /bin/rm -rf ${PAPER_ROOT}.tex
66 for i in ${INFILES}; \
67 do cat $$i >> ${PAPER_ROOT}.tex; \
68 done;
69
70 ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
71 $(LC) ${PAPER_ROOT}
72 $(BC) ${PAPER_ROOT}
73 $(LC) ${PAPER_ROOT}
74 $(LC) ${PAPER_ROOT}
75
76 current.psview: current.ps
77 ${PSVIEWER} current.ps
78
79 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
80 ${PSVIEWER} ${PAPER_ROOT}.ps
81
82 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
83 $(XDVI) -fg black ${PAPER_ROOT}
84
85 clean::
86 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
87
88