5 # To build everything do
20 bacula: tex web html dvipdf
28 @cp -fp ${IMAGES}/hires/*.eps .
29 @touch baculai-dir.tex baculai-fd.tex baculai-sd.tex \
30 baculai-console.tex baculai-general.tex
31 -latex -interaction=batchmode bacula.tex
32 makeindex bacula.idx -o bacula.ind 2>/dev/null
33 makeindex bacula.ddx -o bacula.dnd >/dev/null 2>/dev/null
34 makeindex bacula.fdx -o bacula.fnd >/dev/null 2>/dev/null
35 makeindex bacula.sdx -o bacula.snd >/dev/null 2>/dev/null
36 makeindex bacula.cdx -o bacula.cnd >/dev/null 2>/dev/null
37 -latex -interaction=batchmode bacula.tex
42 @cp -fp ${IMAGES}/hires/*.eps .
43 dvipdfm -p a4 bacula.dvi
44 # Rename for loading on Web site
45 @cp -f bacula.pdf dev-bacula.pdf
49 @echo "Making dvi to pdf"
50 @cp -fp ${IMAGES}/hires/*.eps .
51 dvipdf bacula.dvi bacula.pdf
52 # Rename for loading on Web site
53 @cp -f bacula.pdf dev-bacula.pdf
59 @cp -fp ${IMAGES}/*.eps .
60 @rm -f next.eps next.png prev.eps prev.png up.eps up.png
61 @(if [ -f imagename_translations ] ; then \
62 ./translate_images.pl --from_meaningful_names bacula.html; \
64 latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
65 -init_file latex2html-init.pl bacula >tex.out 2>&1
66 ./translate_images.pl --to_meaningful_names bacula.html
67 @rm -f *.eps *.gif *.jpg
68 @echo "Done making html"
73 @cp -fp ${IMAGES}/*.eps .
74 @rm -f next.eps next.png prev.eps prev.png up.eps up.png
75 @cp -fp ${IMAGES}/*.eps *.txt bacula
76 @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula
77 @rm -f bacula/xp-*.png
78 @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
80 latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
81 -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1
82 ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
83 cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html
84 @rm -f *.eps *.gif *.jpg bacula/*.eps *.old bacula/*.old
85 @echo "Done making web"
91 ./check_tex.pl bacula.tex
94 pic2graph -density 100 <main_configs.pic >main_configs.png
98 @rm -f *.png *.gif *.jpg *.eps
99 @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
100 @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
101 @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
102 @rm -f *.dnd imagename_translations
103 @rm -f *.old WARNINGS *.out *.toc *.idx
104 @rm -f images.pl labels.pl internals.pl
105 @rm -f baculai-dir.tex baculai-fd.tex baculai-sd.tex \
106 baculai-console.tex baculai-general.tex images.tex
110 @rm -f bacula.html bacula.pdf dev-bacula.pdf