5 # To build everything do
20 bacula: tex web html dvipdf
28 @cp -fp ${IMAGES}/*.eps .
29 @cp -fp ${IMAGES}/hires/*.eps .
30 touch bacula-web.idx bacula-webi-general.tex
31 -latex -interaction=batchmode bacula-web.tex
32 makeindex bacula-web.idx >/dev/null 2>/dev/null
33 -latex -interaction=batchmode bacula-web.tex
36 @echo "Making bacula-web pdf manual"
37 @cp -fp ${IMAGES}/*.eps .
38 @cp -fp ${IMAGES}/hires/*.eps .
39 dvipdf bacula-web.dvi bacula-web.pdf
43 @echo "Making bacula-web pdfm"
44 @cp -fp ${IMAGES}/*.eps .
45 @cp -fp ${IMAGES}/hires/*.eps .
46 dvipdfm -p a4 bacula-web.dvi
50 @echo "Making bacula-web html manual"
51 @cp -fp ${IMAGES}/*.eps .
52 @cp -fp ${IMAGES}/hires/*.eps .
53 @rm -f next.eps next.png prev.eps prev.png up.eps up.png
54 @(if [ -e imagename_translations ] ; then \
55 ./translate_images.pl --from_meaningful_names bacula-web.html; \
57 latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
58 -init_file latex2html-init.pl bacula-web >tex.out 2>&1
59 ./translate_images.pl --to_meaningful_names bacula-web.html
60 @rm -f *.gif *.jpg *.old
63 @echo "Making bacula-web web manual"
66 @cp -fp ${IMAGES}/*.eps .
67 @rm -f next.eps next.png prev.eps prev.png up.eps up.png
68 @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png bacula-web/
69 @rm -f bacula-web/next.eps bacula-web/next.png bacula-web/prev.eps bacula-web/prev.png bacula-web/up.eps bacula-web/up.png
70 @(if [ -e bacula-web/imagename_translations ] ; then \
71 ./translate_images.pl --to_meaningful_names bacula-web/Bacula_Users_Guide.html; \
73 @rm -rf bacula-web/*.html
74 latex2html -split 4 -local_icons -t "Bacula-web Guide" -long_titles 4 \
75 -contents_in_nav -toc_stars -white -notransparent bacula-web >/dev/null
76 ./translate_images.pl --to_meaningful_names bacula-web/Bacula_web_Guide.html
77 @cp -f bacula-web/Bacula_web_Guide.html bacula-web/index.html
78 @rm -f *.gif *.jpg bacula-web/*.eps *.old
81 ./check_tex.pl bacula-web.tex
84 pic2graph -density 100 <main_configs.pic >main_configs.png
88 @rm -f *.png *.gif *.jpg *.eps
89 @rm -f *.pdf *.aux *.cp *.fn *.ky *.log *.pg
90 @rm -f *.html *.backup *.pdf *.ps *.dvi *.ilg *.lof *.lot
91 @rm -f *.cdx *.cnd *.ddx *.ddn *.fdx *.fnd *.ind *.sdx *.snd
92 @rm -f *.dnd imagename_translations
93 @rm -f *.old WARNINGS *.out *.toc *.idx
94 @rm -f images.pl labels.pl internals.pl
96 @rm -f images.tex bacula-webi-general.tex
100 @rm -f images.tex bacula-webi-general.tex
101 @rm -f version.tex Makefile