# just to make document processing a bit easier .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html LATEX = latex BIBTEX = bibtex # the following line may look strange, but it works! #TEXINPUTS = /home/intevation/doc/sty:$(TEXINPU) DOCUMENTS = spezifikation.pdf IMAGES = %.eps: %.jpg convert jpg:$*.jpg eps:$*.eps %.eps: %.fig fig2dev -L ps -p dummy_arg -z A4 $*.fig > $*.ps #tabellen.tex: ../konf/brandenburg.konf # echo "\section{Tabellen-Spezifikation für Brandenburg}" > tabellen.tex # echo "\begin{verbatim}" >> tabellen.tex # python ../Tabellen/auto_create_oracle.py \ # ../Konverter/Brandenburg.konf \ # | sed -e "/INDEX/d" >> tabellen.tex # echo "\end{verbatim}" >> tabellen.tex # echo "\label{theverylastpage}" >> tabellen.tex %.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) clean: rm -f *.log *.toc *.aux # rm tabellen.tex veryclean: clean rm -f *.dvi