update_web_docs: Only update the install documentation for the CVS HEAD.
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Fri, 8 Jun 2001 06:27:47 +0000 (08:27 +0200)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Fri, 8 Jun 2001 06:27:47 +0000 (06:27 +0000)
* update_web_docs: Only update the install documentation for the
CVS HEAD.

From-SVN: r43000

maintainer-scripts/ChangeLog
maintainer-scripts/update_web_docs

index af086f495ae681ff025e0cbdc679f82ebef4df21..c8117cf453a47ff0684e0cea2dc7e8fe8d9016f0 100644 (file)
@@ -1,3 +1,8 @@
+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
index 19a22f0b6b44d95b181753dd297ad8c197507b88..c9f8b6ee2ae99bd727f58309cbffe9d560301c2e 100755 (executable)
@@ -154,17 +154,19 @@ if [ "$DO_THANKS_HTML" = y ]; then
   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.