This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: http://gcc.gnu.org/install/configure.html


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]