# just to make document processing a bit easier .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html .sk .SECONDARY: $(IMAGES) LATEX = latex # the following line may look strange, but it works! TEXINPUTS = ../../shared/:$(TEXINPU) DOCUMENTS = greater-manual.pdf gui_styleguide.pdf greater-testplan.pdf %.eps: %.jpg convert jpg:$*.jpg eps:$*.eps %.eps: %.fig fig2dev -L ps -p dummy_arg -z A4 $*.fig > $*.ps # Not avialable under squeeze # %.eps: %.sk # sk2ps $*.sk $*.eps #%.png: %.sk # sk2ppm --bbox --resolution=600 --alpha-bits=2 $*.sk $*.ppm # convert ppm:$*.ppm png:$*.png # rm $*.ppm %.pdf: %.eps epstopdf -o=$*.pdf $*.eps %.png: %.eps convert $*.eps $*.png %.dvi: %.tex $(LATEX) $*.tex && $(LATEX) $*.tex %.ps: %.dvi dvips -o $*.ps $*.dvi %.pdf: %.ps ps2pdf $*.ps $*.pdf all: $(DOCUMENTS) greater-manual.dvi: greater-manual.tex \ greater-tutorial.tex greater-sediment.tex clean: rm -f *.log *.toc *.aux *.dvi *.pdf *.ps very_clean: clean rm -f greater-manual.ps $(DOCUMENTS) $(IMAGES)