From 9bdd3e8497e55718c9f00156b461d347d1703510 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sun, 27 Feb 2005 12:11:35 +0000 Subject: [PATCH] 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. --- Makefile | 3 ++- Makefile.inc1 | 3 +++ usr.sbin/jail/jail.8 | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ce7febcfd0f9..73cbc9727035 100644 --- a/Makefile +++ b/Makefile @@ -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 \ diff --git a/Makefile.inc1 b/Makefile.inc1 index b6fbfb2dedfb..877fa34b83ea 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 # diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index f7c51984804c..d8440b61327c 100644 --- a/usr.sbin/jail/jail.8 +++ b/usr.sbin/jail/jail.8 @@ -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