| 1 |
LBIN =/usr/local/teTeX/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 = oopse |
| 11 |
PICTURES = lipidModel.epsi \ |
| 12 |
dynamicPropsMem.eps |
| 13 |
|
| 14 |
# list section files in order of inclusion |
| 15 |
INFILES = preamble.tex \ |
| 16 |
titleAbstract.tex \ |
| 17 |
ssd.tex \ |
| 18 |
integrator.tex \ |
| 19 |
extended.tex \ |
| 20 |
DUFF.tex \ |
| 21 |
analysis.tex \ |
| 22 |
acknowledgements.tex \ |
| 23 |
bibEnd.tex |
| 24 |
|
| 25 |
# |
| 26 |
# A very cool hack to "do the right thing": |
| 27 |
PSVIEWER = ghostview |
| 28 |
# |
| 29 |
# |
| 30 |
# standard rules: |
| 31 |
# |
| 32 |
.dvi.ps: |
| 33 |
touch $*.ps |
| 34 |
/bin/rm $*.ps |
| 35 |
@echo "compiling $*" |
| 36 |
$(D2PS) -o $*.ps $< |
| 37 |
|
| 38 |
.dvi.pdf: |
| 39 |
touch $*.pdf |
| 40 |
/bin/rm $*.pdf |
| 41 |
@echo "compiling $*" |
| 42 |
$(D2PDF) $< $*.pdf |
| 43 |
|
| 44 |
all:: ${PAPER_ROOT}.psview |
| 45 |
|
| 46 |
current:: current.psview |
| 47 |
|
| 48 |
outline:: ${OUTLINE}.view |
| 49 |
|
| 50 |
gs:: ${PAPER_ROOT}.psview |
| 51 |
|
| 52 |
print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
| 53 |
|
| 54 |
${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
| 55 |
/bin/rm -rf ${PAPER_ROOT}.tex |
| 56 |
for i in ${INFILES}; \ |
| 57 |
do cat $$i >> ${PAPER_ROOT}.tex; \ |
| 58 |
done; |
| 59 |
$(LC) ${PAPER_ROOT} |
| 60 |
$(BC) ${PAPER_ROOT} |
| 61 |
$(LC) ${PAPER_ROOT} |
| 62 |
$(LC) ${PAPER_ROOT} |
| 63 |
|
| 64 |
current.psview: current.ps |
| 65 |
${PSVIEWER} current.ps |
| 66 |
|
| 67 |
${PAPER_ROOT}.psview: ${PAPER_ROOT}.ps |
| 68 |
${PSVIEWER} ${PAPER_ROOT}.ps |
| 69 |
|
| 70 |
${PAPER_ROOT}.view: ${PAPER_ROOT}.dvi |
| 71 |
$(XDVI) -fg black ${PAPER_ROOT} |
| 72 |
|
| 73 |
clean:: |
| 74 |
/bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.* |
| 75 |
|
| 76 |
|