view doc/config-manual/Makefile @ 941:7a8f9eb9fb04

Do some Documentstyling. Added Typewriter-Style to mark XML-Elements and other technical Items. doc/trunk@1084 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 10 May 2010 12:53:17 +0000
parents 0a86b992ab1f
children 975bb59bb136
line wrap: on
line source
# $Id$

.SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html .tif

LATEX = latex

DOCUMENTS = WSPLGEN-Dokumentation.pdf
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 && $(LATEX) $*.tex

%.ps:	%.dvi
	dvips -T 210mm,297mm -o $*.ps $*.dvi 

%.pdf:	%.ps
	( echo "<< /AutoFilterColorImages false"; 	\
	  echo "   /EncodeColorImages true"; 		\
	  echo "   /DownsampleColorImages false"; 	\
	  echo "   /ColorImageFilter /FlateEncode"; 	\
	  echo ">> setdistillerparams" ) 		\
	  | cat - $*.ps | ps2pdf -sPAPERSIZE=a4 - $*.pdf

%.tif:	%.ps
	gs -sDEVICE=tiffg3 -sPapersize=a4 -dNOPAUSE -q -sOutputFile=$*.tif $*.ps -c quit

all: $(DOCUMENTS)

clean:
	rm -f *.bak *.lof *.log *.toc *.aux  WARNINGS

dist-clean: clean
	rm -f *.dvi *.pdf

http://dive4elements.wald.intevation.org