]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manuals/en/console/Makefile.in
Fix index.html links
[bacula/docs] / docs / manuals / en / console / Makefile.in
index be059cb2f8e05720cf6a71dcb9f649de729c186a..0746e14df4a98448d7a69f8b93e7b96dfb9c7bac 100644 (file)
@@ -37,6 +37,7 @@
 IMAGES=../../../images
 
 DOC=console
+MAINDOC=Bacula_Console_Operators_Gu.html
 
 first_rule: all
 
@@ -77,7 +78,9 @@ 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"
 
@@ -93,8 +96,11 @@ web:
        @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
+       @(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)
+       @cp -f ${DOC}/${MAINDOC} ${DOC}/index.html
        @echo "Done making web"
 show:
        xdvi ${DOC}