Mercurial > dive4elements > gnv-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 900:6df869086544 |
---|---|
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 |