This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix bug 31955 (HTML install docs in releases)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Jan 2008 21:38:01 +0000 (UTC)
- Subject: Fix bug 31955 (HTML install docs in releases)
I have applied (to mainline and 4.2 branch) this patch to fix bug 31955:
install.texi2html now needs to generate gcc-vers.texi before processing
Texinfo files.
Index: doc/install.texi2html
===================================================================
--- doc/install.texi2html (revision 131841)
+++ doc/install.texi2html (working copy)
@@ -23,6 +23,17 @@
mkdir -p $DESTDIR
fi
+# Generate gcc-vers.texi.
+(
+ echo "@set version-GCC $(cat $SOURCEDIR/../BASE-VER)"
+ if [ "$(cat $SOURCEDIR/../DEV-PHASE)" = "experimental" ]; then
+ echo "@set DEVELOPMENT"
+ else
+ echo "@clear DEVELOPMENT"
+ fi
+ echo "@set srcdir $SOURCEDIR/.."
+) > $SOURCEDIR/include/gcc-vers.texi
+
for x in index.html specific.html prerequisites.html download.html configure.html \
build.html test.html finalinstall.html binaries.html old.html \
gfdl.html
@@ -31,3 +42,5 @@
echo "define = $define"
$MAKEINFO -I $SOURCEDIR -I $SOURCEDIR/include $SOURCEDIR/install.texi --html --no-split -D$define -o$DESTDIR/$x
done
+
+rm $SOURCEDIR/include/gcc-vers.texi
Index: ChangeLog
===================================================================
--- ChangeLog (revision 131841)
+++ ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2008-01-25 Joseph Myers <joseph@codesourcery.com>
+
+ PR other/31955
+ * doc/install.texi2html: Generate gcc-vers.texi.
+
2008-01-25 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
--
Joseph S. Myers
joseph@codesourcery.com