]> git.sur5r.net Git - bacula/docs/blob - docs/manual-de/Makefile.in
Cleanup
[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 # If you are having problems getting "make" to work, debugging it is
21 #  easier if can see the output from latex, which is normally redirected
22 #  to /dev/null.  To see it, do the following:
23 #
24 #   cd docs/manual
25 #   make tex
26 #   latex bacula.tex
27 #
28 #  typically the latex command will stop indicating the error (e.g. a
29 #  missing \ in front of a _ or a missing { or ] ...
30 #
31 #  The following characters must be preceded by a backslash
32 #    to be entered as printable characters:
33
34 #    # $ % & ~ _ ^ \ { }
35 #
36
37 IMAGES=../images
38
39 first_rule: bacula
40
41 bacula: tex web dvipdf mini-clean
42
43 .SUFFIXES:     .tex .html
44 .PHONY:
45 .DONTCARE:
46
47
48 tex:
49         @./update_version
50         @echo "Making version `cat version.tex`"
51         @cp -fp ${IMAGES}/hires/*.eps .
52         @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
53              baculai-console.tex baculai-general.tex
54         latex -interaction=batchmode bacula.tex
55         makeindex bacula.idx -o bacula.ind 2>/dev/null
56         makeindex bacula.ddx -o bacula.dnd >/dev/null 2>/dev/null
57         makeindex bacula.fdx -o bacula.fnd >/dev/null 2>/dev/null
58         makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null
59         makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null
60         latex -interaction=batchmode bacula.tex
61         latex -interaction=batchmode bimagemgr.tex
62
63 pdf:
64         @echo "Making pdfm"
65         @cp -fp ${IMAGES}/hires/*.eps .
66         dvipdfm -p a4 bacula.dvi
67         dvipdfm -p a4 bimagemgr.dvi
68
69 dvipdf:
70         @echo "Making dvi to pdf"
71         @cp -fp ${IMAGES}/hires/*.eps .
72         dvipdf bacula.dvi bacula.pdf
73         dvipdf bimagemgr.dvi bimagemgr.pdf
74
75 html:
76         @echo " "
77         @echo "Making html"
78         @cp -fp ${IMAGES}/*.eps .
79         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
80         @(if [ -f imagename_translations ] ; then \
81             ./translate_images.pl --from_meaningful_names bacula.html; \
82          fi)
83         latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
84                 -init_file latex2html-init.pl bacula >tex.out 2>&1
85         ./translate_images.pl --to_meaningful_names bacula.html
86         @echo "Done making html"
87
88 web:
89         @echo "Making web"
90         @mkdir -p bacula
91         @cp -fp ${IMAGES}/*.eps .
92         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
93         @cp -fp ${IMAGES}/*.eps *.txt bacula/
94         @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula/
95         @rm -f bacula/xp-*.png
96         @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
97         @rm -rf bacula/*.html
98         latex2html -split 3 -local_icons -t "Bacula User's Guide" -long_titles 4 \
99                 -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1
100         ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
101         -cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
102         @echo "Done making web"
103 show:
104         xdvi bacula
105
106 texcheck:
107         ./check_tex.pl bacula.tex
108
109 main_configs:
110         pic2graph -density 100 <main_configs.pic >main_configs.png
111
112 mini-clean:
113         @rm -f 1 2 3 *.tex~
114         @rm -f *.gif *.jpg *.eps
115         @rm -f *.aux *.cp *.fn *.ky *.log *.pg
116         @rm -f *.backup *.ilg *.lof *.lot
117         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
118         @rm -f *.dnd *.old *.out 
119         @rm -f bacula/*.gif bacula/*.jpg bacula/*.eps
120         @rm -f bacula/*.aux bacula/*.cp bacula/*.fn bacula/*.ky bacula/*.log bacula/*.pg
121         @rm -f bacula/*.backup bacula/*.ilg bacula/*.lof bacula/*.lot
122         @rm -f bacula/*.cdx bacula/*.cnd bacula/*.ddx bacula/*.ddn bacula/*.fdx bacula/*.fnd bacula/*.ind bacula/*.sdx bacula/*.snd
123         @rm -f bacula/*.dnd bacula/*.old bacula/*.out
124         @rm -f bacula/WARNINGS
125
126
127 clean:
128         @rm -f 1 2 3 *.tex~
129         @rm -f *.png *.gif *.jpg *.eps
130         @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
131         @rm -f *.html *.backup *.ps *.dvi *.ilg *.lof *.lot
132         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
133         @rm -f *.dnd imagename_translations
134         @rm -f *.old WARNINGS *.out *.toc *.idx
135         @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
136              baculai-console.tex baculai-general.tex images.tex
137
138
139 distclean:
140         @rm -f 1 2 3 *.tex~
141         @rm -f *.gif *.jpg *.eps
142         @rm -f *.aux *.cp *.fn *.ky *.log *.pg
143         @rm -f  *.backup *.ps *.dvi *.ilg *.lof *.lot
144         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
145         @rm -f *.dnd imagename_translations
146         @rm -f *.old WARNINGS *.out *.toc *.idx
147         @rm -f images.pl labels.pl internals.pl
148         @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
149              baculai-console.tex baculai-general.tex images.tex