]> git.sur5r.net Git - bacula/docs/blobdiff - docs/manual/Makefile.in
Make developers doc build + make distribution
[bacula/docs] / docs / manual / Makefile.in
index f8780fcecc66547a7bcd61ae6c3cb60cb009b4df..4e2ab7b5b3025a61ce9657de997afe1b9d4cb146 100644 (file)
@@ -72,7 +72,7 @@ devpdf:
        @rm -f *.eps *.old
 
 devpdfm:
-       @echo "Making pdfm"
+       @echo "Making developers pdfm"
        @cp -fp ${IMAGES}/hires/*.eps .
        dvipdfm -p a4 developers.dvi
        @rm -f *.eps *.old
@@ -80,17 +80,13 @@ devpdfm:
 html:
        @echo " "
        @echo "Making html"
+       @cp -fp ${IMAGES}/*.eps .
+       @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        @(if [ -e imagename_translations ] ; then \
            ./translate_images.pl --from_meaningful_names bacula.html; \
         fi)
-       @cp -fp ${IMAGES}/*.eps .
-       @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
                -init_file latex2html-init.pl bacula >tex.out 2>&1
-#      @grep -v "opening brace #41" tex.out >1
-#      @mv -f 1 tex.out
-#      @grep "unmatched" tex.out
-       @echo " "
        ./translate_images.pl --to_meaningful_names bacula.html
        @rm -f *.eps *.gif *.jpg
        @echo "Done making html"
@@ -98,29 +94,27 @@ html:
 devhtml:
        @echo "Making developers html"
        @cp -fp ${IMAGES}/*.eps .
+       @rm -f next.eps next.png prev.eps prev.png up.eps up.png
+       @(if [ -e imagename_translations ] ; then \
+           ./translate_images.pl --from_meaningful_names developers.html; \
+        fi)
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
                developers >/dev/null
-       ./translate_images.pl developers.html
+       ./translate_images.pl --to_meaningful_names developers.html
        @rm -f *.eps *.gif *.jpg *.old
 
 web:
        @echo "Making web"
        @mkdir -p bacula
-       @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula
-       @rm -f bacula/xp-*.png
-       @(if [ -e bacula/imagename_translations ] ; then \
-          ./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html; \
-        fi)
-       @rm -rf bacula/*.html
        @cp -fp ${IMAGES}/*.eps .
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        @cp -fp ${IMAGES}/*.eps *.txt bacula
+       @cp -fp ${IMAGES}/*.eps *.txt ${IMAGES}/*.png bacula
+       @rm -f bacula/xp-*.png
        @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
+       @rm -rf bacula/*.html
        latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
                -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >tex.out 2>&1
-#      grep -v "opening brace #41" tex.out >1
-#      mv -f 1 tex.out
-#      grep "unmatched" tex.out
        ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
        cp -f bacula/Bacula_Freque_Asked_Questi.html bacula/faq.html 
        @rm -f *.eps *.gif *.jpg bacula/*.eps *.old bacula/*.old
@@ -134,9 +128,13 @@ devweb:
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        @cp -fp ${IMAGES}/*.eps ${IMAGES}/*.png developers/
        @rm -f developers/next.eps developers/next.png developers/prev.eps developers/prev.png developers/up.eps developers/up.png
+       @(if [ -e developers/imagename_translations ] ; then \
+          ./translate_images.pl --to_meaningful_names developers/Bacula_Users_Guide.html; \
+        fi)
+       @rm -rf developers/*.html
        latex2html -split 5 -local_icons -t "Developer's Guide" -long_titles 4 \
                -contents_in_nav -toc_stars -white -notransparent developers >/dev/null
-       ./translate_images.pl developers/Developers_Guide.html
+       ./translate_images.pl --to_meaningful_names developers/Developers_Guide.html
        @cp -f developers/Developers_Guide.html developers/index.html
        @rm -f *.eps *.gif *.jpg developers/*.eps  *.old