summaryrefslogtreecommitdiff
path: root/maintainer-scripts
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 06:27:47 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2001-06-08 06:27:47 +0000
commite25206651894d7f9009e82de603fd05cbd7d0dde (patch)
treeb2cd3f413d0d6ce19f5ac927d1a9bb8d780ef224 /maintainer-scripts
parente26377d0b8b4a1152c3c2888f7c9a1fc786cbce5 (diff)
downloadgcc-e25206651894d7f9009e82de603fd05cbd7d0dde.tar.gz
* update_web_docs: Only update the install documentation for the
CVS HEAD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43000 138bc75d-0d04-0410-961f-82ee72b054a4
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.