]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/misc/Makefile.in
Tweaks from Dan
[bacula/docs] / docs / manuals / en / misc / Makefile.in
index ae4ac916b27618e2f10bce0b062581a29f2c10bc..a70a83e4223ce3df35f7024620c9ae7fbe138c6e 100644 (file)
@@ -49,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 \
@@ -73,33 +73,29 @@ html:
        @echo "Making html"
        @cp -fp ${IMAGES}/*.eps .
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
-       @(if [ -f imagename_translations ] ; then \
-           ./translate_images.pl --from_meaningful_names ${DOC}.html; \
-        fi)
        latex2html -white -no_subdir -split 0 -toc_stars -white \
                -init_file latex2html-init.pl ${DOC} >tex.out 2>&1
        @(if [ -f imagename_translations ] ; then \
-           ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+           ./translate_images.pl --from_meaningful_names ${DOC}/${MAINDOC}; \
         fi)
        (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 Miscellaneous Guide" -long_titles 4 \
-               -toc_stars -contents_in_nav -init_file latex2html-init.pl -white ${DOC} >tex.out 2>&1
+               -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; \
+           ./translate_images.pl --from_meaningful_names ${DOC}/${MAINDOC}; \
         fi)
-       (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} . 2>/dev/null; done)
        @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html
        @echo "Done making web"
 show: