Check out the release notes for both branches, but don't turn on
BUILD_RELNOTES yet.
This commit is contained in:
parent
682f2748bb
commit
36356cd1b0
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10495
1 changed files with 23 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue