| 10 |
|
PAPER_ROOT = oopse |
| 11 |
|
PICTURES = |
| 12 |
|
|
| 13 |
< |
INFILES = oopse.tex \ |
| 14 |
< |
header.tex \ |
| 15 |
< |
footer.tex \ |
| 16 |
< |
analysis.tex \ |
| 17 |
< |
DUFF.tex |
| 13 |
> |
# list section files in order of inclusion |
| 14 |
> |
INFILES = preamble.tex \ |
| 15 |
> |
titleAbstract.tex \ |
| 16 |
> |
DUFF.tex \ |
| 17 |
> |
analysis.tex \ |
| 18 |
> |
acknowledgements.tex \ |
| 19 |
> |
bibEnd.tex |
| 20 |
|
|
| 21 |
|
# |
| 22 |
|
# A very cool hack to "do the right thing": |
| 47 |
|
|
| 48 |
|
print: ${PAPER_ROOT}.ps ${PAPER_ROOT}.pdf |
| 49 |
|
|
| 48 |
– |
current.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
| 49 |
– |
$(LC) current |
| 50 |
– |
$(BC) current |
| 51 |
– |
$(LC) current |
| 52 |
– |
$(LC) current |
| 53 |
– |
|
| 50 |
|
${PAPER_ROOT}.dvi: ${INFILES} ${PAPER_ROOT}.bib ${PICTURES} |
| 51 |
+ |
/bin/rm -rf ${PAPER_ROOT}.tex |
| 52 |
+ |
for i in ${INFILES}; \ |
| 53 |
+ |
do cat $$i >> ${PAPER_ROOT}; \ |
| 54 |
+ |
done; |
| 55 |
|
$(LC) ${PAPER_ROOT} |
| 56 |
|
$(BC) ${PAPER_ROOT} |
| 57 |
|
$(LC) ${PAPER_ROOT} |