]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/problems/web.makefile
latex2html version 4 mandatory
[bacula/docs] / docs / manuals / en / problems / web.makefile
index 1c3864b877aaa7748dc4783c6bfb7518f41eb107..991c014cbf114f5b67b2233353ac78cb60fb737e 100644 (file)
@@ -1,7 +1,7 @@
 MANUALSDIR=../..
 IMAGES=$(MANUALSDIR)/../images
 DOC=problems
-MAINDOC=Bacula_Problem_Resolution_G.html
+MAINDOC=Problem_Resolution_Guide.html
 BSYSMANUALDIR=$(MANUALSDIR)/../bsysmanual
 COVERSDIR=$(MANUALSDIR)/../covers
 PDFCOVERSDIR=$(COVERSDIR)/pdf
@@ -15,7 +15,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="Problem Resolution 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:
@@ -78,10 +85,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 "Bacula Problem Resolution 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)