docbuild: update PDF file build scripts to use Git

Remove references to CVS/SVN and replace with Git equivalents.
Note the files are not automatically updated on the builder after
a change is committed.
Remove RCSIDs.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
Glen Barber 2020-12-30 11:52:21 -05:00
parent cb1d034ab1
commit e9a6e6f104
2 changed files with 11 additions and 14 deletions

View file

@ -3,14 +3,13 @@
# Copyright (c) 2001 Dima Dorfman <dd@FreeBSD.org> # Copyright (c) 2001 Dima Dorfman <dd@FreeBSD.org>
# Copyright (c) 2004 Simon L. Nielsen <simon@FreeBSD.org> # Copyright (c) 2004 Simon L. Nielsen <simon@FreeBSD.org>
# #
# Build the FreeBSD docs from the CVS^WSVN repository. # Build the FreeBSD docs from the Git repository.
# #
# #
# Major variables: # Major variables:
# #
# PATH - The search path as interpreted by the shell. # PATH - The search path as interpreted by the shell.
# CVSROOT - Path to the FreeBSD CVS repository (obsolete) # DOCGIT - Url to the FreeBSD doc Git repository.
# DOCSVN - Url to the FreeBSD doc SVN repository.
# BUILDDIR - Where the checked out copies of the files are stored. # BUILDDIR - Where the checked out copies of the files are stored.
# DESTDIR - Where the rendered copies should wind up. # DESTDIR - Where the rendered copies should wind up.
# BUILDARGS - Arguments to pass to make(1) when {build,install}ing. # BUILDARGS - Arguments to pass to make(1) when {build,install}ing.
@ -29,13 +28,14 @@
# #
# 0 - success # 0 - success
# 1 - unknown failure # 1 - unknown failure
# 2 - failure in CVS^SVN operations # 2 - failure in Git operations
# 3 - failure in make operations # 3 - failure in make operations
# #
# $FreeBSD: www/tools/webupdate,v 1.10 2003/11/18 11:00:54 kuriyama Exp $
#
# #
# NOTE: This script is not automatically updated on the builder.
#
# WARNING! This script depend on dobuild_wrap.sh setting the # WARNING! This script depend on dobuild_wrap.sh setting the
# configuration variables in the enviroment. # configuration variables in the enviroment.
# #
@ -61,8 +61,7 @@ if [ -z "${NOCLEAN}" ]; then
rm -Rf doc out 2>/dev/null rm -Rf doc out 2>/dev/null
echo "===> Check out the new doc" echo "===> Check out the new doc"
#cvs -qR checkout -P doc || exit 2 git clone -b main ${DOCGIT} doc || exit 2
svn checkout ${DOCSVN} doc || exit 2
fi fi
cd $BUILDDIR/doc || exit 1 cd $BUILDDIR/doc || exit 1

View file

@ -24,18 +24,17 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE. # SUCH DAMAGE.
# #
# $FreeBSD$
#
#
# Wrapper around doc build. Simplifies main build script. # Wrapper around doc build. Simplifies main build script.
# NOTE: This script is not automatically updated on the builder.
# #
# Default configuration. # Default configuration.
# #
DEFAULT_PATH=/bin:/usr/bin:/usr/local/bin DEFAULT_PATH=/bin:/usr/bin:/usr/local/bin
DEFAULT_BUILDROOT=/local0/docbuild DEFAULT_BUILDROOT=/local0/docbuild
DEFAULT_CVSROOT=/home/dcvs DEFAULT_DOCGIT="https://git.freebsd.org/doc.git"
DEFAULT_DOCSVN="svn://svn.freebsd.org/doc/head"
DEFAULT_BUILDARGS="NO_JPMAN=yes GEN_INDEX=yes" DEFAULT_BUILDARGS="NO_JPMAN=yes GEN_INDEX=yes"
DEFAULT_INSTARGS="NO_JPMAN=yes GEN_INDEX=yes INSTALL_ONLY_COMPRESSED=yes" DEFAULT_INSTARGS="NO_JPMAN=yes GEN_INDEX=yes INSTALL_ONLY_COMPRESSED=yes"
# Must keep space between addresses. # Must keep space between addresses.
@ -51,8 +50,7 @@ DEFAULT_COMPTYPES="bz2 zip"
# #
BUILDROOT=${BUILDROOT:-${DEFAULT_BUILDROOT}}; export BUILDROOT BUILDROOT=${BUILDROOT:-${DEFAULT_BUILDROOT}}; export BUILDROOT
PATH="${PATH}:${DEFAULT_PATH}"; export PATH PATH="${PATH}:${DEFAULT_PATH}"; export PATH
CVSROOT=${CVSROOT:-${DEFAULT_CVSROOT}}; export CVSROOT DOCGIT=${DOCGIT:-${DEFAULT_DOCGIT}}; export DOCGIT
DOCSVN=${DOCSVN:-${DEFAULT_DOCSVN}}; export DOCSVN
BUILDDIR=${BUILDDIR:-${BUILDROOT}/build}; export BUILDDIR BUILDDIR=${BUILDDIR:-${BUILDROOT}/build}; export BUILDDIR
DOCDIR=${DOCDIR:-${BUILDROOT}/build/out}; export DOCDIR DOCDIR=${DOCDIR:-${BUILDROOT}/build/out}; export DOCDIR
FORMATS=${FORMATS:-${DEFAULT_FORMATS}}; export FORMATS FORMATS=${FORMATS:-${DEFAULT_FORMATS}}; export FORMATS