3 CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation
5 %.dvi: %.tex macros.tex biblio.bib
6 tex $< && mv $*.toc $*.tok
8 tex $< && mv $*.toc $*.tok
9 tex $< && mv $*.toc $*.tok
11 saga.dvi: $(addsuffix .tex,$(CHAPTERS))
14 dvips -D600 -o $@ -t a4 $<
17 dvipdfm -o $@ -p a4 -r 600 -z 9 $<
20 rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids *.toc *.tok
26 grep -c bibitem saga.bbl
29 scp -C saga.pdf jw:www/papers/saga/