all: saga.ps
-CHAPTERS=cover mst notation ram
+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))
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
-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: