# just to make document processing a bit easier .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html LATEX = latex # the following line may look strange, but it works! #TEXINPUTS = /home/intevation/doc/sty:$(TEXINPU) DOCUMENTS = greater-manual.ps gui_styleguide.ps greater-testplan.ps IMAGES = %.eps: %.jpg convert jpg:$*.jpg eps:$*.eps %.eps: %.fig fig2dev -L ps -p dummy_arg -z A4 $*.fig > $*.ps %.dvi: %.tex $(LATEX) $*.tex && $(LATEX) $*.tex %.ps: %.dvi dvips -o $*.ps $*.dvi %.pdf: %.ps ps2pdf $*.ps $*.pdf all: $(DOCUMENTS) clean: rm -f *.log *.toc *.aux