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:
parent
cb1d034ab1
commit
e9a6e6f104
2 changed files with 11 additions and 14 deletions
share/tools
|
@ -3,14 +3,13 @@
|
|||
# Copyright (c) 2001 Dima Dorfman <dd@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:
|
||||
#
|
||||
# PATH - The search path as interpreted by the shell.
|
||||
# CVSROOT - Path to the FreeBSD CVS repository (obsolete)
|
||||
# DOCSVN - Url to the FreeBSD doc SVN repository.
|
||||
# DOCGIT - Url to the FreeBSD doc Git repository.
|
||||
# BUILDDIR - Where the checked out copies of the files are stored.
|
||||
# DESTDIR - Where the rendered copies should wind up.
|
||||
# BUILDARGS - Arguments to pass to make(1) when {build,install}ing.
|
||||
|
@ -29,13 +28,14 @@
|
|||
#
|
||||
# 0 - success
|
||||
# 1 - unknown failure
|
||||
# 2 - failure in CVS^SVN operations
|
||||
# 2 - failure in Git 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
|
||||
# configuration variables in the enviroment.
|
||||
#
|
||||
|
@ -61,8 +61,7 @@ if [ -z "${NOCLEAN}" ]; then
|
|||
rm -Rf doc out 2>/dev/null
|
||||
|
||||
echo "===> Check out the new doc"
|
||||
#cvs -qR checkout -P doc || exit 2
|
||||
svn checkout ${DOCSVN} doc || exit 2
|
||||
git clone -b main ${DOCGIT} doc || exit 2
|
||||
fi
|
||||
|
||||
cd $BUILDDIR/doc || exit 1
|
||||
|
|
|
@ -24,18 +24,17 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
#
|
||||
# Wrapper around doc build. Simplifies main build script.
|
||||
# NOTE: This script is not automatically updated on the builder.
|
||||
|
||||
#
|
||||
# Default configuration.
|
||||
#
|
||||
DEFAULT_PATH=/bin:/usr/bin:/usr/local/bin
|
||||
DEFAULT_BUILDROOT=/local0/docbuild
|
||||
DEFAULT_CVSROOT=/home/dcvs
|
||||
DEFAULT_DOCSVN="svn://svn.freebsd.org/doc/head"
|
||||
DEFAULT_DOCGIT="https://git.freebsd.org/doc.git"
|
||||
DEFAULT_BUILDARGS="NO_JPMAN=yes GEN_INDEX=yes"
|
||||
DEFAULT_INSTARGS="NO_JPMAN=yes GEN_INDEX=yes INSTALL_ONLY_COMPRESSED=yes"
|
||||
# Must keep space between addresses.
|
||||
|
@ -51,8 +50,7 @@ DEFAULT_COMPTYPES="bz2 zip"
|
|||
#
|
||||
BUILDROOT=${BUILDROOT:-${DEFAULT_BUILDROOT}}; export BUILDROOT
|
||||
PATH="${PATH}:${DEFAULT_PATH}"; export PATH
|
||||
CVSROOT=${CVSROOT:-${DEFAULT_CVSROOT}}; export CVSROOT
|
||||
DOCSVN=${DOCSVN:-${DEFAULT_DOCSVN}}; export DOCSVN
|
||||
DOCGIT=${DOCGIT:-${DEFAULT_DOCGIT}}; export DOCGIT
|
||||
BUILDDIR=${BUILDDIR:-${BUILDROOT}/build}; export BUILDDIR
|
||||
DOCDIR=${DOCDIR:-${BUILDROOT}/build/out}; export DOCDIR
|
||||
FORMATS=${FORMATS:-${DEFAULT_FORMATS}}; export FORMATS
|
||||
|
|
Loading…
Reference in a new issue