annotate doc/Makefile @ 900:6df869086544

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

http://dive4elements.wald.intevation.org