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. # completely subject to change without notice.
# #
TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \ 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\ hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installworld \ reinstallkernel reinstallkernel.debug installworld \
kernel-toolchain libraries lint maninstall \ kernel-toolchain libraries lint maninstall \

View File

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

View File

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