| 1 |
LC = pdflatex |
| 2 |
BC = bibtex |
| 3 |
#PDF = Preview |
| 4 |
#LC = latex |
| 5 |
#BC = bibtex |
| 6 |
#D2PS = dvips |
| 7 |
#D2PDF = dvipdf |
| 8 |
#XDVI = xdvi |
| 9 |
|
| 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 |
#%.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 |
|
| 49 |
#all:: ${PAPER_ROOT}.view |
| 50 |
|
| 51 |
all:: ${PAPER_ROOT}.pdf |
| 52 |
|
| 53 |
#dview:: ${PAPER_ROOT}.view |
| 54 |
|
| 55 |
#ps:: ${PAPER_ROOT}.psview |
| 56 |
|
| 57 |
#pdf:: ${PAPER_ROOT}.pdfview |
| 58 |
|
| 59 |
${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 |
#${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 |
$(BC) ${PAPER_ROOT} |
| 76 |
$(LC) ${PAPER_ROOT} |
| 77 |
$(LC) ${PAPER_ROOT} |
| 78 |
$(LC) ${PAPER_ROOT} |
| 79 |
|
| 80 |
#current.psview: current.ps |
| 81 |
# ${PSVIEWER} current.ps |
| 82 |
|
| 83 |
#${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
| 84 |
# ${PSVIEWER} ${PAPER_ROOT}.ps |
| 85 |
|
| 86 |
#${PAPER_ROOT}.pdfview: ${PAPER_ROOT}.pdf |
| 87 |
# ${PDFVIEWER} ${PAPER_ROOT}.pdf |
| 88 |
|
| 89 |
#${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
| 90 |
# $(XDVI) -fg black ${PAPER_ROOT} |
| 91 |
|
| 92 |
#print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
| 93 |
|
| 94 |
#${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
| 95 |
# $(KDVI) ${PAPER_ROOT} |
| 96 |
|
| 97 |
clean:: |
| 98 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof *.lot dissertation.pdf *.ttt *.toc *.lol dissertation.tex |