diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2001-08-30 06:59:19 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2001-08-30 06:59:19 +0000 |
| commit | 36356cd1b0f42011b56b953971363e3241deb5fd (patch) | |
| tree | e03025b28d11d1d31585645bda4e8837ef0cbed2 /tools/webupdate | |
| parent | 682f2748bbc4e35182e3ebf859f1b37d239a43ec (diff) | |
Check out the release notes for both branches, but don't turn on
BUILD_RELNOTES yet.
Notes
svn path=/www/; revision=10495
Diffstat (limited to 'tools/webupdate')
| -rw-r--r-- | tools/webupdate | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/tools/webupdate b/tools/webupdate index a51039e0af..fdd521b19c 100644 --- a/tools/webupdate +++ b/tools/webupdate @@ -30,7 +30,7 @@ # 2 - failure in CVS operations # 3 - failure in make operations # -# $FreeBSD: www/tools/webupdate,v 1.3 2001/06/14 04:59:13 dd Exp $ +# $FreeBSD: www/tools/webupdate,v 1.4 2001/08/24 02:09:39 dd Exp $ # # @@ -55,7 +55,22 @@ LOGFILE=${LOGFILE:-${BUILDDIR}/${DEFAULT_LOGFILE}}; BUILDARGS=${BUILDARGS:-${DEFAULT_BUILDARGS}}; INSTARGS=${INSTARGS:-${DEFAULT_INSTARGS}}; -subtrees='www doc'; +# Notes on the names of the release notes directories: +# +# - They weren't named the same way they will be on the web site +# (CURRENT, 4-STABLE) becuase that wouldn't make it obvious that they +# were release notes. +# +# - They weren't named after their path names in the repository +# (src/release/doc) because that doesn't play well with branches. +# +# - The '/doc' part is necessary because of the way doc.subdir.mk finds +# ${LANGCODE}. It strips off the last component of ${.CURDIR} one by +# one and compares the last component to 'doc'. When it finds it, it +# assumes that the directory right below that is the language code. +# This works fine if all the languages are in a directory called +# 'doc', and not at all if they aren't. +subtrees='www doc relnotes/doc relnotes4/doc'; # # Update the checked out copies. Check out new copies every Sunday or @@ -87,6 +102,12 @@ if [ $cond ]; then # Check out the new copies. This creates all the $subtrees. cvs -qR checkout -P www >> $LOGFILE 2>&1 || exit 2; cvs -qR checkout -P doc >> $LOGFILE 2>&1 || exit 2; + test -d relnotes || mkdir relnotes; + cvs -qR checkout -Pd relnotes/doc src/release/doc >> \ + $LOGFILE 2>&1 || exit 2; + test -d relnotes4 || mkdir relnotes4; + cvs -qR checkout -Pd relnotes4/doc -rRELENG_4 src/release/doc >> \ + $LOGFILE 2>&1 || exit 2; else cvs -qR update -dP $subtrees >> $LOGFILE 2>&1 || exit 2; fi |
