]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/es/problems/Makefile.in
Reset everything to English
[bacula/docs] / docs / manuals / es / problems / Makefile.in
index c2b3f06b49ec95fb546b87b7f04861df343d585f..d2557754136a92833bc21e02a1d339716b679856 100644 (file)
@@ -37,6 +37,7 @@
 IMAGES=../../../images
 
 DOC=problems
+MAINDOC=Bacula_Problem_Resolution_G.html
 
 first_rule: all
 
@@ -77,24 +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
-       (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} .; done)
+       @(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
-       (cd ${DOC}; for i in *.png ; do cp -fp ../${IMAGES}/$${i} .; 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}