]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/utility/Makefile.in
Document new %D
[bacula/docs] / docs / manuals / en / utility / Makefile.in
index 66c3611d605b87691e59d230a1bac1eb149d999c..afca483040f681c161356eb1f872cd56d6982e7a 100644 (file)
@@ -37,6 +37,7 @@
 IMAGES=../../../images
 
 DOC=utility
+MAINDOC=Bacula_Utility_Programs.html
 
 first_rule: all
 
@@ -48,7 +49,7 @@ all: tex web dvipdf mini-clean
 
 
 tex:
-       @./update_version
+       @../../update_version
        @echo "Making version `cat version.tex`"
        @cp -fp ${IMAGES}/hires/*.eps .
        @touch ${DOC}i-dir.tex ${DOC}i-fd.tex ${DOC}i-sd.tex \
@@ -77,25 +78,29 @@ html:
         fi)
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
                -init_file latex2html-init.pl ${DOC} >tex.out 2>&1
-       ./translate_images.pl --to_meaningful_names ${DOC}.html
+       @(if [ -f imagename_translations ] ; then \
+           ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+        fi)
        cp ${IMAGES}/bacula-logo.png ${DOC}
        (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done)
        @echo "Done making html"
 
 web:
        @echo "Making web"
+       @rm -rf ${DOC}
        @mkdir -p ${DOC}
        @cp -fp ${IMAGES}/*.eps .
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
-       @cp -fp ${IMAGES}/*.eps  ${DOC}/
-       @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png ${DOC}/
        @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
-       @rm -rf ${DOC}/*.html
        latex2html -split 3 -local_icons -t "Bacula Utility Programs" -long_titles 4 \
-               -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent ${DOC} >tex.out 2>&1
-       ./translate_images.pl --to_meaningful_names ${DOC}/Bacula_Utilit*.html
-       (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done)
+               -toc_stars -contents_in_nav -init_file latex2html-init.pl \
+               -no_antialias -no_antialias_text \
+               -white -notransparent ${DOC} >tex.out 2>&1
+       @(if [ -f imagename_translations ] ; then \
+           ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+        fi)
+       @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html
        @echo "Done making web"
 show:
        xdvi ${DOC}