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