From 00ef0d038de4a016626a77704a539e021c2837da Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 1 May 2018 17:26:36 +0200 Subject: [PATCH] re PR web/85578 (broken links in gcc-8.0.1-RC-20180427/INSTALL/specific.html, and out of date prerequisites.html) PR web/85578 * doc/install.texi2html: Replace _002d with - and _002a with * in generated html files using sed. From-SVN: r259799 --- gcc/ChangeLog | 6 ++++++ gcc/doc/install.texi2html | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60ca47c0ad0..91f5f10514e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-05-01 Jakub Jelinek + + PR web/85578 + * doc/install.texi2html: Replace _002d with - and _002a with * in + generated html files using sed. + 2018-04-30 David Malcolm PR c++/85523 diff --git a/gcc/doc/install.texi2html b/gcc/doc/install.texi2html index b31713d59c1..85adfb98adc 100755 --- a/gcc/doc/install.texi2html +++ b/gcc/doc/install.texi2html @@ -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 -- 2.30.2