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:
parent
88e7c7a466
commit
9bdd3e8497
3
Makefile
3
Makefile
@ -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 \
|
||||||
|
@ -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
|
||||||
#
|
#
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user