all: saga.ps
-CHAPTERS=cover mst notation ram adv rank
+CHAPTERS=cover mst ram adv opt dyn rank notation
%.dvi: %.tex macros.tex biblio.bib
- tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi
+ tex $< && bibtex $* && tex $< && tex $<
saga.dvi: $(addsuffix .tex,$(CHAPTERS))
mostlyclean:
rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids
-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: