Mercurial > dive4elements > gnv-client
comparison doc/config-manual/Makefile @ 905:0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
doc/trunk@1039 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Fri, 30 Apr 2010 09:40:58 +0000 |
parents | |
children | 975bb59bb136 |
comparison
equal
deleted
inserted
replaced
904:7b0516f3e03a | 905:0a86b992ab1f |
---|---|
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 |