all: saga.ps CHAPTERS=cover mst notation %.dvi: %.tex macros.tex biblio.bib tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi saga.dvi: $(addsuffix .tex,$(CHAPTERS)) %.ps: %.dvi dvips -D600 -o $@ -t a4 $< %.pdf: %.dvi dvipdfm -o $@ -p a4 -r 600 -z 9 $< mostlyclean: rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids clean:: mostlyclean rm -f *.ps *.pdf .SECONDARY: