ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/tengDissertation/Makefile
Revision: 2912
Committed: Fri Jun 30 02:45:29 2006 UTC (18 years ago) by tim
File size: 1359 byte(s)
Log Message:
more corrections.

File Contents

# Content
1 LBIN =/usr/local/bin
2 LC = latex
3 BC = bibtex
4 D2PS = dvips
5 D2PDF = dvipdf
6 XDVI = xdvi
7
8 .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf
9
10 PAPER_ROOT = dissertation
11 PICTURES = \
12
13
14
15 # list section files in order of inclusion
16 INFILES = phdPreamble.tex \
17 Introduction.tex \
18 Methodology.tex \
19 Lipid.tex\
20 LiquidCrystal.tex \
21 Langevin.tex \
22 Conclusion.tex \
23 Appendix.tex \
24 phdBib.tex
25
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 dview:: ${PAPER_ROOT}.view
46
47 current:: current.psview
48
49 outline:: ${OUTLINE}.view
50
51 gs:: ${PAPER_ROOT}.psview
52
53 print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf
54
55 ${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES}
56 /bin/rm -rf ${PAPER_ROOT}.tex
57 for i in ${INFILES}; \
58 do cat $$i >> ${PAPER_ROOT}.tex; \
59 done;
60
61 ${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex
62 $(LC) ${PAPER_ROOT}
63 $(BC) ${PAPER_ROOT}
64 $(LC) ${PAPER_ROOT}
65 $(LC) ${PAPER_ROOT}
66
67 current.psview: current.ps
68 ${PSVIEWER} current.ps
69
70 ${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps
71 ${PSVIEWER} ${PAPER_ROOT}.ps
72
73 ${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi
74 $(XDVI) -fg black ${PAPER_ROOT}
75
76 clean::
77 /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*