# just to make document processing a bit easier # $Source: /home/bricks/source/greater/cvs/greaterrepository/greater-pre-processing/doc/Makefile,v $ # $Id: Makefile,v 1.5 2003-10-06 08:53:24 frank Exp $ .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html LATEX = latex DOCUMENTS = greater-preprocessing-manual.ps %.eps: %.jpg convert jpg:$*.jpg eps:$*.eps %.eps: %.fig fig2dev -L eps $*.fig > $*.eps %.dvi: %.tex $(LATEX) $*.tex && $(LATEX) $*.tex %.ps: %.dvi dvips -o $*.ps $*.dvi %.pdf: %.ps ( echo "<< /AutoFilterColorImages false"; \ echo " /EncodeColorImages true"; \ echo " /DownsampleColorImages false"; \ echo " /ColorImageFilter /FlateEncode"; \ echo ">> setdistillerparams" ) \ | cat - $*.ps | ps2pdf - $*.pdf all: $(DOCUMENTS) greater-preprocessing-manual.dvi: theory.tex sourcefiles.tex resultfiles.tex \ howto.tex gnufdl.tex \ river.digital.eps DigitialRiverNetwork.eps flow.final.geo.eps \ flow.final.att.eps triple_confl.eps ocean_segments.eps bifurcation.eps \ unconsidered.eps clean: rm -f *.log *.toc *.aux *.eps *.dvi *.ps *.bak very_clean: clean rm -f *.dvi *.pdf