Mercurial > dive4elements > gnv-client
annotate doc/config-manual/Makefile @ 915:a6f86fa053a1
Added listing of all supported OutputStates
doc/trunk@1049 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 04 May 2010 10:08:25 +0000 |
parents | 0a86b992ab1f |
children | 975bb59bb136 |
rev | line source |
---|---|
905
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 # $Id$ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 .SUFFIXES: .dvi .tex .jpg .eps .ps .fig .pdf .html .tif |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 LATEX = latex |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 DOCUMENTS = WSPLGEN-Dokumentation.pdf |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 IMAGES = |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 %.eps: %.jpg |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 convert jpg:$*.jpg eps:$*.eps |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 %.eps: %.fig |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 fig2dev -L ps -p dummy_arg -z A4 $*.fig > $*.ps |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
16 %.dvi: %.tex |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
17 $(LATEX) $*.tex && $(LATEX) $*.tex && $(LATEX) $*.tex |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
18 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
19 %.ps: %.dvi |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
20 dvips -T 210mm,297mm -o $*.ps $*.dvi |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
21 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
22 %.pdf: %.ps |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
23 ( echo "<< /AutoFilterColorImages false"; \ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
24 echo " /EncodeColorImages true"; \ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
25 echo " /DownsampleColorImages false"; \ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
26 echo " /ColorImageFilter /FlateEncode"; \ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
27 echo ">> setdistillerparams" ) \ |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
28 | cat - $*.ps | ps2pdf -sPAPERSIZE=a4 - $*.pdf |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
29 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
30 %.tif: %.ps |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 gs -sDEVICE=tiffg3 -sPapersize=a4 -dNOPAUSE -q -sOutputFile=$*.tif $*.ps -c quit |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 all: $(DOCUMENTS) |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
34 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
35 clean: |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
36 rm -f *.bak *.lof *.log *.toc *.aux WARNINGS |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
37 |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
38 dist-clean: clean |
0a86b992ab1f
Integrated Structure and basic File for LaTex-Documents for the Config-Manual
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
39 rm -f *.dvi *.pdf |