]> git.sur5r.net Git - bacula/docs/commitdiff
Fix annoying (at least to me) error from latex2html when attempting
authorKarl Cunningham <karlec@users.sourceforge.net>
Thu, 26 May 2005 19:50:14 +0000 (19:50 +0000)
committerKarl Cunningham <karlec@users.sourceforge.net>
Thu, 26 May 2005 19:50:14 +0000 (19:50 +0000)
to link index.html.

docs/developers/Makefile
docs/developers/latex2html-init.pl [new file with mode: 0644]
docs/manual-fr/Makefile
docs/manual-fr/latex2html-init.pl [new file with mode: 0644]
docs/manual/Makefile
docs/manual/latex2html-init.pl [new file with mode: 0644]

index 3fbad0cc339624ebad20f9554dedcea4b41db297..808c14bd5b09a1fa7b692ce459f2e7bb9cb1d3b3 100644 (file)
@@ -118,11 +118,12 @@ html:
 
 devhtml:
        @echo "Making developers html"
-       ./translate_images.pl --from_meaningful_names developers.html
+       @./translate_images.pl --from_meaningful_names developers.html
        @cp -fp ${IMAGES}/*.eps .
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
-               developers >/dev/null
-       ./translate_images.pl --to_meaningful_names developers.html
+               -init_file latex2html-init.pl developers >/dev/null
+       @echo
+       @./translate_images.pl --to_meaningful_names developers.html
        @rm -f *.eps *.gif *.jpg *.old
 
 
@@ -144,16 +145,16 @@ web:
 devweb:
        @echo "Making developers web"
        @mkdir -p developers
-       ./translate_images.pl --from_meaningful_names developers/Developers_Guide.html
+       @./translate_images.pl --from_meaningful_names developers/Developers_Guide.html
        @rm -f developers/*.html
        @cp -fp ${IMAGES}/*.eps .
        @rm -f next.eps next.png prev.eps prev.png up.eps up.png
        @cp -fp ${IMAGES}/*.eps developers/
        @rm -f developers/next.eps developers/next.png developers/prev.eps developers/prev.png developers/up.eps developers/up.png
-       latex2html -split 5 -local_icons -t "Developer's Guide" -long_titles 4 \
+       latex2html -split 5 -local_icons -t "Developer's Guide" -init_file latex2html-init.pl -long_titles 4 \
                -contents_in_nav -toc_stars -white -notransparent developers >/dev/null
-       ./translate_images.pl --to_meaningful_names developers/Developers_Guide.html
-       @cp -f developers/Developers_Guide.html developers/index.html
+       @echo
+       @./translate_images.pl --to_meaningful_names developers/Developers_Guide.html
        @rm -f *.eps *.gif *.jpg developers/*.eps  *.old
 
 texcheck:
diff --git a/docs/developers/latex2html-init.pl b/docs/developers/latex2html-init.pl
new file mode 100644 (file)
index 0000000..14b5c31
--- /dev/null
@@ -0,0 +1,10 @@
+# This file serves as a place to put initialization code and constants to 
+#  affect the behavior of latex2html for generating the bacula manuals.
+
+# $LINKPOINT specifies what filename to use to link to when creating 
+#  index.html.  Not that this is a hard link.
+$LINKPOINT='"$OVERALL_TITLE"';
+
+
+# The following must be the last line of this file.
+1;
index d326db3198a2609a14b48bb75c61ff78eac87680..d7f53e99627dea27934e09d6c1b6508856bea292 100644 (file)
@@ -107,11 +107,12 @@ devpdfm:
 
 html:
        @echo "Making html"
-       ./translate_images.pl --from_meaningful_names bacula.html
+       @./translate_images.pl --from_meaningful_names bacula.html
        @cp -fp ${IMAGES}/*.eps .
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
-               bacula >/dev/null
-       ./translate_images.pl --to_meaningful_names bacula.html
+               -init_file latex2html-init.pl bacula >/dev/null
+       @echo
+       @./translate_images.pl --to_meaningful_names bacula.html
        @rm -f *.eps *.gif *.jpg *.old
 
 devhtml:
@@ -126,16 +127,16 @@ devhtml:
 web:
        @echo "Making web"
        @mkdir -p bacula
-       ./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html
+       @./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html
        @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
        @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
        latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
-               -toc_stars -contents_in_nav -white -notransparent bacula >/dev/null
-       ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
-       @cp -f bacula/Bacula_Users_Guide.html bacula/index.html
+               -toc_stars -init_file latex2html-init.pl -contents_in_nav -white -notransparent bacula >/dev/null
+       @echo
+       @./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
        @rm -f *.eps *.gif *.jpg bacula/*.eps *.old
 
 devweb:
diff --git a/docs/manual-fr/latex2html-init.pl b/docs/manual-fr/latex2html-init.pl
new file mode 100644 (file)
index 0000000..14b5c31
--- /dev/null
@@ -0,0 +1,10 @@
+# This file serves as a place to put initialization code and constants to 
+#  affect the behavior of latex2html for generating the bacula manuals.
+
+# $LINKPOINT specifies what filename to use to link to when creating 
+#  index.html.  Not that this is a hard link.
+$LINKPOINT='"$OVERALL_TITLE"';
+
+
+# The following must be the last line of this file.
+1;
index 76f6ed00b0216f3898ad3b0f361808c1e0d278d7..cc6da2f1a957c54e1a24f9dbdcf5ac72ba2c2fcf 100644 (file)
@@ -112,11 +112,12 @@ devpdfm:
 
 html:
        @echo "Making html"
-       ./translate_images.pl --from_meaningful_names bacula.html
+       @./translate_images.pl --from_meaningful_names bacula.html
        @cp -fp ${IMAGES}/*.eps .
        latex2html -white -no_subdir -split 0 -toc_stars -white -notransparent \
-               bacula >/dev/null
-       ./translate_images.pl --to_meaningful_names bacula.html
+               -init_file latex2html-init.pl bacula >/dev/null
+       @echo
+       @./translate_images.pl --to_meaningful_names bacula.html
        @rm -f *.eps *.gif *.jpg
 
 devhtml:
@@ -131,17 +132,16 @@ devhtml:
 web:
        @echo "Making web"
        @mkdir -p bacula
-       ./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html
+       @./translate_images.pl --from_meaningful_names bacula/Bacula_Users_Guide.html
        @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  ${IMAGES}/*.png *.txt bacula
        @cp -fp ${IMAGES}/*.eps *.txt bacula
        @rm -f bacula/next.eps bacula/next.png bacula/prev.eps bacula/prev.png bacula/up.eps bacula/up.png
        latex2html -split 4 -local_icons -t "Bacula User's Guide" -long_titles 4 \
-               -toc_stars -contents_in_nav -white -notransparent bacula >/dev/null
-       ./translate_images.pl --to_meaningful_names bacula/Bacula_Users_Guide.html
-       @cp -f bacula/Bacula_Users_Guide.html bacula/index.html
+               -toc_stars -contents_in_nav -init_file latex2html-init.pl -white -notransparent bacula >/dev/null
+       @echo
+       @./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
 
diff --git a/docs/manual/latex2html-init.pl b/docs/manual/latex2html-init.pl
new file mode 100644 (file)
index 0000000..14b5c31
--- /dev/null
@@ -0,0 +1,10 @@
+# This file serves as a place to put initialization code and constants to 
+#  affect the behavior of latex2html for generating the bacula manuals.
+
+# $LINKPOINT specifies what filename to use to link to when creating 
+#  index.html.  Not that this is a hard link.
+$LINKPOINT='"$OVERALL_TITLE"';
+
+
+# The following must be the last line of this file.
+1;