]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/problems/Makefile.in
integrate external links
[bacula/docs] / docs / manuals / en / problems / Makefile.in
index 9f91f53c23150e097be361551213371a7c39c2c5..f8ebad0c1a69147908d95b93acb20999c08e1203 100644 (file)
@@ -37,6 +37,7 @@
 IMAGES=../../../images
 
 DOC=problems
+MAINDOC=Bacula_Problem_Resolution_G.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,23 +78,28 @@ 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
-       cp ${IMAGES}/bacula-logo.png ${DOC}
+       @(if [ -f imagename_translations ] ; then \
+           ./translate_images.pl --from_meaningful_names ${DOC}.html; \
+        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 Problem Resolution Guide" -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_Proble*.html
+               -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}