1 |
xsun |
3347 |
LC = pdflatex |
2 |
|
|
BC = bibtex |
3 |
|
|
#PDF = Preview |
4 |
|
|
#LC = latex |
5 |
xsun |
3336 |
#BC = bibtex |
6 |
xsun |
3347 |
#D2PS = dvips |
7 |
|
|
#D2PDF = dvipdf |
8 |
|
|
#XDVI = xdvi |
9 |
xsun |
3336 |
|
10 |
|
|
|
11 |
|
|
.SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf |
12 |
|
|
|
13 |
|
|
PAPER_ROOT = dissertation |
14 |
|
|
|
15 |
|
|
PICTURES = \ |
16 |
|
|
|
17 |
|
|
INFILES = phdPreamble.tex \ |
18 |
|
|
Introduction.tex \ |
19 |
|
|
mc.tex \ |
20 |
|
|
md.tex \ |
21 |
|
|
ld.tex \ |
22 |
|
|
Conclusion.tex \ |
23 |
|
|
phdBib.tex |
24 |
|
|
|
25 |
|
|
#SINFILES = \ |
26 |
|
|
# SupportingInfo.tex \ |
27 |
|
|
# dissertation.bib |
28 |
|
|
|
29 |
|
|
# |
30 |
|
|
# standard rules: |
31 |
|
|
# |
32 |
|
|
PSVIEWER = kghostview |
33 |
|
|
PDFVIEWER = kpdf |
34 |
|
|
|
35 |
|
|
# ".dvi.ps" is the old-fashioned suffix rules = "%.ps: %.dvi" |
36 |
|
|
#.dvi.ps: |
37 |
xsun |
3362 |
#%.ps: %.dvi |
38 |
|
|
# touch $*.ps |
39 |
|
|
# /bin/rm $*.ps |
40 |
|
|
# @echo "compiling $*" |
41 |
|
|
# $(D2PS) -o $*.ps $< |
42 |
|
|
# |
43 |
|
|
#.dvi.pdf: |
44 |
|
|
# touch $*.pdf |
45 |
|
|
# /bin/rm $*.pdf |
46 |
|
|
# @echo "compiling $*" |
47 |
|
|
# $(D2PDF) $< $*.pdf |
48 |
xsun |
3336 |
|
49 |
xsun |
3347 |
#all:: ${PAPER_ROOT}.view |
50 |
xsun |
3336 |
|
51 |
xsun |
3347 |
all:: ${PAPER_ROOT}.pdf |
52 |
xsun |
3336 |
|
53 |
xsun |
3347 |
#dview:: ${PAPER_ROOT}.view |
54 |
xsun |
3336 |
|
55 |
xsun |
3347 |
#ps:: ${PAPER_ROOT}.psview |
56 |
xsun |
3336 |
|
57 |
xsun |
3347 |
#pdf:: ${PAPER_ROOT}.pdfview |
58 |
|
|
|
59 |
xsun |
3336 |
${PAPER_ROOT}.tex: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
60 |
|
|
/bin/rm -rf ${PAPER_ROOT}.tex |
61 |
|
|
for i in ${INFILES}; \ |
62 |
|
|
do cat $$i >> ${PAPER_ROOT}.tex; \ |
63 |
|
|
done; |
64 |
|
|
|
65 |
xsun |
3347 |
#${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex |
66 |
|
|
# $(LC) --src-specials ${PAPER_ROOT} |
67 |
|
|
# $(BC) ${PAPER_ROOT} |
68 |
|
|
# $(LC) --src-specials ${PAPER_ROOT} |
69 |
|
|
# $(LC) --src-specials ${PAPER_ROOT} |
70 |
|
|
|
71 |
|
|
#${PAPER_ROOT}.dvi: ${PAPER_ROOT}.tex |
72 |
|
|
|
73 |
|
|
${PAPER_ROOT}.pdf: ${PAPER_ROOT}.tex |
74 |
|
|
$(LC) ${PAPER_ROOT} |
75 |
xsun |
3336 |
$(BC) ${PAPER_ROOT} |
76 |
xsun |
3347 |
$(LC) ${PAPER_ROOT} |
77 |
|
|
$(LC) ${PAPER_ROOT} |
78 |
|
|
$(LC) ${PAPER_ROOT} |
79 |
xsun |
3336 |
|
80 |
xsun |
3347 |
#current.psview: current.ps |
81 |
|
|
# ${PSVIEWER} current.ps |
82 |
xsun |
3336 |
|
83 |
xsun |
3347 |
#${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
84 |
|
|
# ${PSVIEWER} ${PAPER_ROOT}.ps |
85 |
xsun |
3336 |
|
86 |
xsun |
3347 |
#${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf |
87 |
|
|
# ${PDFVIEWER} ${PAPER_ROOT}.pdf |
88 |
xsun |
3336 |
|
89 |
|
|
#${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
90 |
|
|
# $(XDVI) -fg black ${PAPER_ROOT} |
91 |
|
|
|
92 |
xsun |
3347 |
#print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
93 |
xsun |
3336 |
|
94 |
xsun |
3347 |
#${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
95 |
|
|
# $(KDVI) ${PAPER_ROOT} |
96 |
xsun |
3336 |
|
97 |
|
|
clean:: |
98 |
|
|
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot dissertation.pdf *.ttt *.toc *.lol dissertation.tex |