+2001-06-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * update_web_docs: Only update the install documentation for the
+ CVS HEAD.
+
2001-06-07 Joseph S. Myers <jsm28@cam.ac.uk>
* update_web_docs, doc_exclude: Check out files that may be in the
ln onlinedocs/${contrib_file}.gz thanks.html.gz
fi
-# Finally, generate the installation documentation.
-SOURCEDIR=$WORKDIR
-DESTDIR=$WWWBASE_PREFORMATTED/install
-export SOURCEDIR
-export DESTDIR
-$WORKDIR/gcc/gcc/doc/install.texi2html
-
-for file in `ls $DESTDIR`
-do
- $PREPROCESS install/$file
-done
+# Finally, generate the installation documentation (but only for CVS HEAD).
+if [ "$RELEASE" = "HEAD" ]; then
+ SOURCEDIR=$WORKDIR
+ DESTDIR=$WWWBASE_PREFORMATTED/install
+ export SOURCEDIR
+ export DESTDIR
+ $WORKDIR/gcc/gcc/doc/install.texi2html
+
+ for file in `ls $DESTDIR`
+ do
+ $PREPROCESS install/$file
+ done
+fi
# Clean up behind us.