This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: http://gcc.gnu.org/install/configure.html
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc at gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 2 Sep 2006 12:08:02 +0200 (CEST)
- Subject: Re: http://gcc.gnu.org/install/configure.html
- References: <299A1B9F-FEE5-4918-8082-663547E80D2D@freenet.de> <84fc9c000608270324g6b96b07lb3ca6518e2cc3c23@mail.gmail.com>
On Sun, 27 Aug 2006, Richard Guenther wrote:
> The problem is that installation instructions (and internals manuals)
> are only available for trunk, not for released versions.
These aren't online, but are part of the release tarballs.
We could add generation of the installation documentation to the magic in
maintainer-scripts/update_web_docs_svn, but I'm not sufficiently familiar
with that script to do so without undue risk.
I had a look, but I'm not really too familiar with this script. Something
like the patch below might come close (it just omits the postprocessing of
these version specific web pages of the installation docs).
Joseph, what do you think?
Gerald
Index: update_web_docs_svn
===================================================================
--- update_web_docs_svn (revision 116641)
+++ update_web_docs_svn (working copy)
@@ -157,7 +157,7 @@
done
fi
-# And copy the resulting files to the web server
+# Copy the resulting files to the web server.
for file in */*.html *.ps *.pdf *.tar; do
if [ -f $DOCSDIR/$file ]; then
cat $DOCSDIR/$file |
@@ -177,19 +177,26 @@
cd $DOCSDIR
-# Finally, generate the installation documentation
+# And generate version-specific installation documentation.
+SOURCEDIR=$WORKDIR/gcc/gcc/doc
+DESTDIR=$DOCSDOR/install
+export SOURCEDIR
+export DESTDIR
+$WORKDIR/gcc/gcc/doc/install.texi2html
+
+# Finally, generate the primary installation documentation.
if [ "$RELEASE" = "trunk" ]; then
SOURCEDIR=$WORKDIR/gcc/gcc/doc
DESTDIR=$WWWBASE_PREFORMATTED/install
export SOURCEDIR
export DESTDIR
$WORKDIR/gcc/gcc/doc/install.texi2html
-
- # Preprocess the entire web site, not just the install docs!
- echo "Invoking $WWWPREPROCESS"
- $WWWPREPROCESS |grep -v '^ Warning: Keeping'
fi
+# Preprocess the entire web site, not just the install docs!
+echo "Invoking $WWWPREPROCESS"
+$WWWPREPROCESS | grep -v '^ Warning: Keeping'
+
# Clean up behind us.
rm -rf $WORKDIR