--- trunk/oopsePaper/Makefile 2003/08/23 17:01:50 713 +++ trunk/oopsePaper/Makefile 2003/08/24 02:44:05 715 @@ -10,11 +10,13 @@ INFILES = oopse.tex \ PAPER_ROOT = oopse PICTURES = -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 +47,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}