-all: saga.ps
+all: saga.ps abstract.ps abscover.ps pubs.ps
-CHAPTERS=cover mst notation
+CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation
-%.dvi: %.tex macros.tex biblio.bib
- tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi
+%.dvi: %.tex macros.tex fonts12.tex fonts10.tex biblio.bib mjalpha.bst
+ tex $< && mv $*.toc $*.tok
+ bibtex $*
+ tex $< && mv $*.toc $*.tok
+ tex $< && mv $*.toc $*.tok
+
+pubs.dvi: pubs.tex macros.tex fonts12.tex
+ tex $<
+
+abscover.dvi: abscover.tex
+ csplain $<
saga.dvi: $(addsuffix .tex,$(CHAPTERS))
dvipdfm -o $@ -p a4 -r 600 -z 9 $<
mostlyclean:
- rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids
+ rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids *.toc *.tok
-clean:: mostlyclean
+clean: mostlyclean
rm -f *.ps *.pdf
+countrefs: saga.dvi
+ grep -c bibitem saga.bbl
+
+upload: saga.pdf
+ scp -C saga.pdf jw:www/papers/saga/
+
.SECONDARY: