ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mattDisertation/Makefile
Revision: 1021
Committed: Wed Feb 4 20:23:20 2004 UTC (20 years, 5 months ago) by mmeineke
File size: 1597 byte(s)
Log Message:
started work on the complete project. Made a makefile, and added preambles

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 Conclusion.tex \
30 phdBib.tex
31
32 #
33 # A very cool hack to "do the right thing":
34 PSVIEWER = ghostview
35 #
36 #
37 # standard rules:
38 #
39 .dvi.ps:
40 touch $*.ps
41 /bin/rm $*.ps
42 @echo "compiling $*"
43 $(D2PS) -o $*.ps $<
44
45 .dvi.pdf:
46 touch $*.pdf
47 /bin/rm $*.pdf
48 @echo "compiling $*"
49 $(D2PDF) $< $*.pdf
50
51 all:: ${PAPER_ROOT}.psview
52
53 dview:: ${PAPER_ROOT}.view
54
55 current:: current.psview
56
57 outline:: ${OUTLINE}.view
58
59 gs:: ${PAPER_ROOT}.psview
60
61 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
62
63 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
64 /bin/rm -rf ${PAPER_ROOT}.tex
65 for i in ${INFILES}; \
66 do cat $$i >> ${PAPER_ROOT}.tex; \
67 done;
68
69 ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
70 $(LC) ${PAPER_ROOT}
71 $(BC) ${PAPER_ROOT}
72 $(LC) ${PAPER_ROOT}
73 $(LC) ${PAPER_ROOT}
74
75 current.psview: current.ps
76 ${PSVIEWER} current.ps
77
78 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
79 ${PSVIEWER} ${PAPER_ROOT}.ps
80
81 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
82 $(XDVI) -fg black ${PAPER_ROOT}
83
84 clean::
85 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*
86
87