From df7ad0448aecf8371e7e8522e1dd4dbfc6cac072 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 8 Jun 2001 08:27:47 +0200 Subject: [PATCH] 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 --- maintainer-scripts/ChangeLog | 5 +++++ maintainer-scripts/update_web_docs | 24 +++++++++++++----------- 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 + + * update_web_docs: Only update the install documentation for the + CVS HEAD. + 2001-06-07 Joseph S. Myers * 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. -- 2.30.2