comparison doc/admin-manual/Makefile @ 901:1ebde13e620f

Moved all admin-manual specific files in new directory admin-manual doc/trunk@1024 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Hans Plum <hans.plum@intevation.de>
date Wed, 28 Apr 2010 14:25:08 +0000
parents
children 95b48f7d0acf
comparison
equal deleted inserted replaced
900:6df869086544 901:1ebde13e620f
1 # $Id$
2
3 .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html .tif
4
5 LATEX = latex
6
7 DOCUMENTS = WSPLGEN-Dokumentation.pdf
8 IMAGES =
9
10 %.eps: %.jpg
11 convert jpg:$*.jpg eps:$*.eps
12
13 %.eps: %.fig
14 fig2dev -L ps -p dummy_arg -z A4 $*.fig > $*.ps
15
16 %.dvi: %.tex
17 $(LATEX) $*.tex && $(LATEX) $*.tex && $(LATEX) $*.tex
18
19 %.ps: %.dvi
20 dvips -T 210mm,297mm -o $*.ps $*.dvi
21
22 %.pdf: %.ps
23 ( echo "<< /AutoFilterColorImages false"; \
24 echo " /EncodeColorImages true"; \
25 echo " /DownsampleColorImages false"; \
26 echo " /ColorImageFilter /FlateEncode"; \
27 echo ">> setdistillerparams" ) \
28 | cat - $*.ps | ps2pdf -sPAPERSIZE=a4 - $*.pdf
29
30 %.tif: %.ps
31 gs -sDEVICE=tiffg3 -sPapersize=a4 -dNOPAUSE -q -sOutputFile=$*.tif $*.ps -c quit
32
33 all: $(DOCUMENTS)
34
35 clean:
36 rm -f *.bak *.lof *.log *.toc *.aux WARNINGS
37
38 dist-clean: clean
39 rm -f *.dvi *.pdf

http://dive4elements.wald.intevation.org