]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR web/85578 (broken links in gcc-8.0.1-RC-20180427/INSTALL/specific.html, and...
authorJakub Jelinek <jakub@redhat.com>
Tue, 1 May 2018 15:26:36 +0000 (17:26 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 1 May 2018 15:26:36 +0000 (17:26 +0200)
PR web/85578
* doc/install.texi2html: Replace _002d with - and _002a with * in
generated html files using sed.

From-SVN: r259799

gcc/ChangeLog
gcc/doc/install.texi2html

index 60ca47c0ad087d492cf600397f3d3ed6299e57f3..91f5f10514eaa0a6f776d4aed09e83a0088a5743 100644 (file)
@@ -1,3 +1,9 @@
+2018-05-01  Jakub Jelinek  <jakub@redhat.com>
+
+       PR web/85578
+       * doc/install.texi2html: Replace _002d with - and _002a with * in
+       generated html files using sed.
+
 2018-04-30  David Malcolm  <dmalcolm@redhat.com>
 
        PR c++/85523
index b31713d59c1b600c2f1b549a98340df357e5554a..85adfb98adc07461e7636e7c0ffb5c3042bca63e 100755 (executable)
@@ -52,7 +52,10 @@ for x in index.html specific.html prerequisites.html download.html configure.htm
 do
     define=`echo $x | sed -e 's/\.//g'`
     echo "define = $define"
-    $MAKEINFO --no-number-sections -I $SOURCEDIR -I $SOURCEDIR/include -I $DESTDIR $SOURCEDIR/install.texi --html --no-split -D$define -o$DESTDIR/$x
+    $MAKEINFO --no-number-sections -I $SOURCEDIR -I $SOURCEDIR/include -I $DESTDIR $SOURCEDIR/install.texi --html --no-split -D$define -o$DESTDIR/temp.html
+    # Use sed to work around makeinfo 4.7 brokenness.
+    sed -e 's/_002d/-/g' -e 's/_002a/*/g' $DESTDIR/temp.html > $DESTDIR/$x
+    rm $DESTDIR/temp.html
 done
 
 rm $DESTDIR/gcc-vers.texi