]> git.sur5r.net Git - bacula/docs/blob - docs/manual-de/Makefile.in
Update
[bacula/docs] / docs / manual-de / Makefile.in
1 #
2 #
3 #  Makefile for LaTeX  
4 #
5 # To build everything do
6 #    make tex
7 #    make web
8 #    make html
9 #    make dvipdf
10 #
11 # or simply
12 #
13 #    make
14 #
15 # for rapid development do:
16 #    make tex
17 #    make show
18 #
19
20 IMAGES=../images
21
22 first_rule: bacula
23
24 bacula: tex web html dvipdf mini-clean
25
26 .SUFFIXES:     .tex .html
27 .PHONY:
28 .DONTCARE:
29
30
31 tex:
32         @./update_version
33         @echo "Making version `cat version.tex`"
34         @cp -fp ${IMAGES}/hires/*.eps .
35         @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
36              baculai-console.tex baculai-general.tex
37         -latex -interaction=batchmode bacula.tex
38         makeindex bacula.idx -o bacula.ind 2>/dev/null
39         makeindex bacula.ddx -o bacula.dnd >/dev/null 2>/dev/null
40         makeindex bacula.fdx -o bacula.fnd >/dev/null 2>/dev/null
41         makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null
42         makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null
43         -latex -interaction=batchmode bacula.tex
44
45 pdf:
46         @echo "Making pdfm"
47         @cp -fp ${IMAGES}/hires/*.eps .
48         dvipdfm -p a4 bacula.dvi
49
50 dvipdf:
51         @echo "Making dvi to pdf"
52         @cp -fp ${IMAGES}/hires/*.eps .
53         dvipdf bacula.dvi bacula.pdf
54
55 html:
56         @echo " "
57         @echo "Making html"
58         @cp -fp ${IMAGES}/*.eps .
59         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
60         @(if [ -f imagename_translations ] ; then \
61             ./translate_images.pl --from_meaningful_names bacula.html; \
62          fi)
63         latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
64                 -init_file latex2html-init.pl bacula >tex.out 2>&1
65         ./translate_images.pl --to_meaningful_names bacula.html
66         @echo "Done making html"
67
68 web:
69         @echo "Making web"
70         @mkdir -p bacula
71         @cp -fp ${IMAGES}/*.eps .
72         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
73         @cp -fp ${IMAGES}/*.eps *.txt bacula
74         @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula
75         @rm -f bacula/xp-*.png
76         @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
77         @rm -rf bacula/*.html
78         latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
79                 -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1
80         ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
81         cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
82         @echo "Done making web"
83 show:
84         xdvi bacula
85
86 texcheck:
87         ./check_tex.pl bacula.tex
88
89 main_configs:
90         pic2graph -density 100 <main_configs.pic >main_configs.png
91
92 mini-clean:
93         @rm -f 1 2 3 *.tex~
94         @rm -f *.gif *.jpg *.eps
95         @rm -f *.aux *.cp *.fn *.ky *.log *.pg
96         @rm -f *.backup *.ilg *.lof *.lot
97         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
98         @rm -f *.dnd *.old *.out 
99         @rm -f bacula/*.gif bacula/*.jpg bacula/*.eps
100         @rm -f bacula/*.aux bacula/*.cp bacula/*.fn bacula/*.ky bacula/*.log bacula/*.pg
101         @rm -f bacula/*.backup bacula/*.ilg bacula/*.lof bacula/*.lot
102         @rm -f bacula/*.cdx bacula/*.cnd bacula/*.ddx bacula/*.ddn bacula/*.fdx bacula/*.fnd bacula/*.ind bacula/*.sdx bacula/*.snd
103         @rm -f bacula/*.dnd bacula/*.old bacula/*.out
104         @rm -f bacula/WARNINGS
105
106
107 clean:
108         @rm -f 1 2 3 *.tex~
109         @rm -f *.png *.gif *.jpg *.eps
110         @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
111         @rm -f *.html *.backup *.ps *.dvi *.ilg *.lof *.lot
112         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
113         @rm -f *.dnd imagename_translations
114         @rm -f *.old WARNINGS *.out *.toc *.idx
115         @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
116              baculai-console.tex baculai-general.tex images.tex
117
118
119 distclean:
120         @rm -f 1 2 3 *.tex~
121         @rm -f *.gif *.jpg *.eps
122         @rm -f *.aux *.cp *.fn *.ky *.log *.pg
123         @rm -f  *.backup *.ps *.dvi *.ilg *.lof *.lot
124         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
125         @rm -f *.dnd imagename_translations
126         @rm -f *.old WARNINGS *.out *.toc *.idx
127         @rm -f images.pl labels.pl internals.pl
128         @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
129              baculai-console.tex baculai-general.tex images.tex