]> git.sur5r.net Git - bacula/docs/blob - docs/manual-de/Makefile.in
f7373f53e1e1b6a43e80c600356d24704b8eca9a
[bacula/docs] / docs / manual-de / Makefile.in
1 #
2 #
3 #  Makefile for LaTeX  
4 #
5 # To build everything do
6 #    make tex
7 #    make links
8 #    make all
9 #    make web
10 #    make html
11 #    make pdf
12 #
13 # or simply
14 #
15 #    make
16 #
17
18 IMAGES=../images
19
20 #  bacula  -- special case below
21 #  running -- special case below
22
23 #
24 # Note, these are all parts of the manual not in any
25 #  particular order (mostly alphabetic). The order they
26 #  appear in the manual is defined in bacula.tex
27 #
28 MANUAL = \
29    autochangers bootstrap bugs catalog \
30    catmaintenance configure consoleconf console critical \
31    daemonprotocol dirdconf director disk faq filedconf file \
32    firewalls gpl install internaldb kaboom lesser \
33    license messagesres monitorconf mysql oldfileset pools \
34    porting postgresql progs projects quickstart recycling \
35    regression rescuefloppy rescue restore rpm-faq \
36    security spooling sqlite state storage \
37    storedconf strategies stunnel \
38    requirements supportedoses supporteddrives tapetesting \
39    thanks tips vars verify win32 \
40    daemonprotocol gui-interface \
41    supportedchangers \
42    md5 mediaformat mempool netprotocol porting smartall
43
44
45 first_rule: bacula
46
47 bacula: tex web html dvipdf
48
49 .SUFFIXES:     .tex .html
50 .PHONY:
51 .DONTCARE:
52
53
54 tex:
55         @cp -fp ${IMAGES}/hires/*.eps .
56         @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
57              baculai-console.tex baculai-general.tex
58         -latex -interaction=batchmode bacula.tex
59         makeindex bacula.idx -o bacula.ind 2>/dev/null
60         makeindex bacula.ddx -o bacula.dnd >/dev/null 2>/dev/null
61         makeindex bacula.fdx -o bacula.fnd >/dev/null 2>/dev/null
62         makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null
63         makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null
64         -latex -interaction=batchmode bacula.tex
65         @rm -f *.eps *.old
66
67 pdf:
68         @echo "Making pdfm"
69         @cp -fp ${IMAGES}/hires/*.eps .
70         dvipdfm -p a4 bacula.dvi
71 # Rename for loading on Web site
72         mv bacula.pdf dev-bacula.pdf
73         @rm -f *.eps *.old
74
75 dvipdf:
76         @echo "Making dvi to pdf"
77         @cp -fp ${IMAGES}/hires/*.eps .
78         dvipdf bacula.dvi bacula.pdf
79         @rm -f *.eps *.old
80
81 html:
82         @echo "Making html"
83 #    If you turn on the following, it aborts after a "make clean"
84 #       @./translate_images.pl --from_meaningful_names bacula.html
85         @cp -fp ${IMAGES}/*.eps .
86         latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
87                 -init_file latex2html-init.pl bacula >/dev/null
88         @echo
89         @./translate_images.pl --to_meaningful_names bacula.html
90         @rm -f *.eps *.gif *.jpg
91
92 web:
93         @echo "Making web"
94         @mkdir -p bacula
95         @cp -f imagename_translations bacula
96 #    If you turn on the following, it aborts after a "make clean"
97 #       @./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html
98         @rm -rf bacula/*.html
99         @cp -fp ${IMAGES}/*.eps .
100         @rm -f next.eps next.png prev.eps prev.png up.eps up.png
101         @cp -fp ${IMAGES}/*.eps *.txt bacula
102         @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
103         latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
104                 -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >/dev/null
105         @echo
106         @./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
107         @cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
108         @rm -f *.eps *.gif *.jpg bacula/*.eps *.old
109
110 texcheck:
111         ./check_tex.pl bacula.tex
112
113 main_configs:
114         pic2graph -density 100 <main_configs.pic >main_configs.png
115
116 clean:
117         @rm -f 1 2 3
118         @rm -f *.png *.gif *.jpg *.eps
119         @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
120         @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
121         @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
122         @rm -f *.dnd
123         @rm -f *.old WARNINGS *.out *.toc *.idx
124         @rm -f images.pl labels.pl internals.pl
125         @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
126              baculai-console.tex baculai-general.tex images.tex
127
128
129 distclean:  clean
130         @rm -f bacula.html bacula.pdf