Added the convenience "distribution" target which calls the

target of the same name from src/etc/Makefile with a proper
environment, suitable to be used during upgrades and cross-
builds.
This commit is contained in:
Ruslan Ermilov 2005-02-27 12:11:35 +00:00
parent 88e7c7a466
commit 9bdd3e8497
3 changed files with 6 additions and 3 deletions

View File

@ -63,7 +63,8 @@
# completely subject to change without notice.
#
TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \
cleandepend cleandir depend distribute distributeworld everything \
cleandepend cleandir depend distribute distributeworld \
distribution everything \
hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installworld \
kernel-toolchain libraries lint maninstall \

View File

@ -546,6 +546,9 @@ redistribute:
@echo "--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute
distribution:
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} distribution
#
# buildkernel and installkernel
#

View File

@ -33,7 +33,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd April 8, 2003
.Dd February 27, 2005
.Dt JAIL 8
.Os
.Sh NAME
@ -119,7 +119,6 @@ D=/here/is/the/jail
cd /usr/src
mkdir -p $D
make world DESTDIR=$D
cd etc
make distribution DESTDIR=$D
mount_devfs devfs $D/dev
cd $D