summaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>2001-06-08 08:27:47 +0200
committerGerald Pfeifer <gerald@gcc.gnu.org>2001-06-08 06:27:47 +0000
commitdf7ad0448aecf8371e7e8522e1dd4dbfc6cac072 (patch)
treeb2cd3f413d0d6ce19f5ac927d1a9bb8d780ef224 /maintainer-scripts
parent7628e178ef59d7f9daf52db48d29e9fc45e17136 (diff)
downloadgcc-df7ad0448aecf8371e7e8522e1dd4dbfc6cac072.tar.gz
update_web_docs: Only update the install documentation for the CVS HEAD.
* update_web_docs: Only update the install documentation for the CVS HEAD. From-SVN: r43000
Diffstat (limited to 'maintainer-scripts')
-rw-r--r--maintainer-scripts/ChangeLog5
-rwxr-xr-xmaintainer-scripts/update_web_docs24
2 files changed, 18 insertions, 11 deletions
diff --git a/maintainer-scripts/ChangeLog b/maintainer-scripts/ChangeLog
index af086f495ae..c8117cf453a 100644
--- a/maintainer-scripts/ChangeLog
+++ b/maintainer-scripts/ChangeLog
@@ -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
diff --git a/maintainer-scripts/update_web_docs b/maintainer-scripts/update_web_docs
index 19a22f0b6b4..c9f8b6ee2ae 100755
--- a/maintainer-scripts/update_web_docs
+++ b/maintainer-scripts/update_web_docs
@@ -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.