LATEX = latex --interaction=batchmode SLIDES = 102-5.tex $(wildcard *.slides.tex) %.dvi: %.tex gl2.slide-header.tex $(LATEX) $< test -s $@ %.pdf: %.dvi dvipdf $< $@ all: message gl2-overview.pdf $(SLIDES:%.tex=%.pdf) message: @echo "In order to build slides you must have prosper installed" @echo "Please run 'apt-get install prosper' in Debian or" @echo "As appropriate to your distribution." %.ps: %.dvi dvips -o $@ $< clean: $(RM) *.aux *.los *.log *.dvi *.pdf