adamc@524: PAPERS=manual adamc@524: adamc@524: FIGURES= adamc@524: adamc@524: all: $(PAPERS:%=%.dvi) $(PAPERS:%=%.ps) $(PAPERS:%=%.pdf) adamc@524: adamc@524: %.dvi: %.tex $(FIGURES:%=%.eps) adamc@524: latex $< adamc@524: latex $< adamc@524: adamc@524: %.ps: %.dvi adamc@524: dvips $< -o $@ adamc@524: adamc@524: %.pdf: %.dvi $(FIGURES:%=%.pdf) adamc@524: pdflatex $(<:%.dvi=%) adamc@524: adamc@524: %.pdf: %.eps adamc@524: epstopdf $< adamc@524: adamc@524: clean: adamc@524: rm -f *.aux *.bbl *.blg *.dvi *.log *.pdf *.ps adamc@524: adamc@524: .PHONY: all clean