all: $P.ps
-%.dvi: %.tex ../sgr.tex
- csplain $<
+%.dvi: %.tex ../sgr.tex ../ga.bib
+ csplain $< && if grep -q citation $*.aux ; then bibtex $* && csplain $< && csplain $< ; fi
%.pdf: %.tex ../sgr.tex
pdfcsplain $<
pstops '2:0L(212mm,0mm)+1L(212mm,150mm)' <$< | sed 's/^%%BoundingBox: .*/%%BoundingBox: 0 0 595 842/' >$@
mostlyclean:
- rm -f *.dvi *.log *~ core *.o *-700.tex *-a5.ps
+ rm -f *.dvi *.log *~ core *.o *-700.tex *-a5.ps *.aux *.bbl *.blg
clean:: mostlyclean
rm -f *.ps *.pdf