]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/es/console/Makefile.in
Add manuals/bacula.sty
[bacula/docs] / docs / manuals / es / console / Makefile.in
index be059cb2f8e05720cf6a71dcb9f649de729c186a..ef4fe269c4f86553b67d26030b604440032505e9 100644 (file)
@@ -37,6 +37,7 @@
 IMAGES=../../../images
 
 DOC=console
+MAINDOC=Bacula_Console_Operators_Gu.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,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
+       @(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} .; 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 Console and Operators 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_Consol*.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}