]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/console/web.makefile
latex2html version 4 mandatory
[bacula/docs] / docs / manuals / en / console / web.makefile
index 7ba4a61ddc5891199cb19729c4f1b334b95b5339..5ab8a5f8d4ce0d2d7754c462b1567fa599e3d3f5 100644 (file)
@@ -18,7 +18,14 @@ BSYSCOMPILERFILE=bsys-compiler-mode.tex
 PDFCOMPILERFILE=$(MANUALSDIR)/bsys-pdflatex-mode.tex
 TEXCOMPILERFILE=$(MANUALSDIR)/bsys-latex-mode.tex
 WEBCOMPILERFILE=$(MANUALSDIR)/bsys-web-mode.tex
+#
+# Web documentation generation
 WWWDIR=../www-$(DOC)
+HTML_TITLE="Console and Operators Guide"
+HTML_DEPTH=3
+HTML_TITLES=6
+HTML_VERSION=4.0
+LATEX_TO_HTML=latex2html -split ${HTML_DEPTH} -local_icons -t ${HTML_TITLE} -long_titles ${HTML_TITLES} -toc_stars -contents_in_nav -init_file latex2html-init.pl -no_antialias -no_antialias_text -white -notransparent ${DOC} -html_version ${HTML_VERSION} >tex.out 2>&1
 
 .SUFFIXES:     .tex .html
 .PHONY:
@@ -81,10 +88,7 @@ web: commonfiles epsimages pngimages
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        @rm -f ${DOC}/xp-*.png
        @rm -f ${DOC}/next.eps ${DOC}/next.png ${DOC}/prev.eps ${DOC}/prev.png ${DOC}/up.eps ${DOC}/up.png
-       latex2html -split 3 -local_icons -t "Console and Operators Guide" -long_titles 4 \
-               -toc_stars -contents_in_nav -init_file latex2html-init.pl \
-               -no_antialias -no_antialias_text \
-               -white -notransparent ${DOC} >tex.out 2>&1
+       @${LATEX_TO_HTML}
        @(if [ -f imagename_translations ] ; then \
            ./translate_images.pl --from_meaningful_names $(MAINDOC).html; \
         fi)