]> git.sur5r.net Git - bacula/docs/blobdiff - docs/tools/htmls.sh
This patch fix the bug referenced as https://bugs.baculasystems.com/view.php?id=23...
[bacula/docs] / docs / tools / htmls.sh
index 47dbe2ef6804f25d369500ad304b912a4cf535ca..1cc8abd5d4adc362274823a5d512d1e65b480e6c 100755 (executable)
@@ -71,6 +71,8 @@ do
     thedirname=`echo $M | sed -e 's/.*www-\(.*\)/\1/g'`
     #
     # Message to indicate what we are building
+    echo ""
+    echo ""
     echo "$thedirname Manual"
     #
     # Where to find HTML files
@@ -104,5 +106,19 @@ do
     fi
 done
 #
+# Anchor management
+readdir=""
+for M in ${LIST}
+do
+    #
+    # Extract the directory name: console, developers, main, etc.
+    thedirname=`echo $M | sed -e 's/.*www-\(.*\)/\1/g'`
+    #
+    # Where to find HTML files
+    readdir="${readdir} $SOURCEDIRHEAD/$thedirname/$thedirname"
+done
+echo "./handle-xr-references.pl -m \"${readdir}\" -i list-of-anchors -l en"
+./handle-xr-references.pl -m "${readdir}" -i list-of-anchors -l en
+#
 # Copy images
 cp -v ${SOURCEIMAGEDIR}/png/*.png ${DESTIMAGEDIR}/