--- trunk/oopsePaper/Makefile 2003/08/13 21:22:44 695 +++ trunk/oopsePaper/Makefile 2003/09/01 19:50:07 737 @@ -8,13 +8,16 @@ PICTURES = .SUFFIXES: $(SUFFIXES) .dvi .ps .bib .tex .bbl .pdf PAPER_ROOT = oopse -PICTURES = +PICTURES = lipidModel.epsi \ + dynamicPropsMem.eps -INFILES = oopse.tex \ - header.tex \ - footer.tex \ - analysis.tex \ - DUFF.tex +# list section files in order of inclusion +INFILES = preamble.tex \ + titleAbstract.tex \ + DUFF.tex \ + analysis.tex \ + acknowledgements.tex \ + bibEnd.tex # # A very cool hack to "do the right thing": @@ -45,13 +48,11 @@ current.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf -current.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} - $(LC) current - $(BC) current - $(LC) current - $(LC) current - ${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} + /bin/rm -rf ${PAPER_ROOT}.tex + for i in ${INFILES}; \ + do cat $$i >> ${PAPER_ROOT}.tex; \ + done; $(LC) ${PAPER_ROOT} $(BC) ${PAPER_ROOT} $(LC) ${PAPER_ROOT} @@ -67,6 +68,6 @@ clean:: $(XDVI) -fg black ${PAPER_ROOT} clean:: - /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof + /bin/rm -f *.aux *.log *.bbl *.blg *.dvi *.tbx *.fgx *~ *.fff *.lof mule.*