it: # make vanhorn-phd-dissertation.dvi make vanhorn-phd-tr.dvi .tex.dvi: rm -f $*.ps $*.pdf mpost mp/figure latex $< || { rm -f $*.dvi $*.aux $*.idx && false ; } bibtex $* while grep 'Rerun to get ' $*.log ; do \ latex $< || { rm -f $*.dvi $*.aux $*.idx && false ; } ; done .fig.eps: fig2dev -L eps $< $@ .fig.pstex: fig.pstex_t: fig2dev -L pstex_t -p $*.pstex $< $*.pstex_t fig2dev -L pstex $< $*.pstex clean: rm -f *.dvi *.log *.bak *.aux *.bbl *.blg *.brf *.idx *.ps *.eps *.out *.toc figure.* mp/*.mpx *~