aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2006-09-11 13:15:09 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2006-09-11 13:15:09 +0000
commit95dc12e160156b7deef66af3ea906acfe1ee10de (patch)
tree4bf45b3a3d6bea65e348bd14b968c9f9a969f303 /release/Makefile
parent3e232000c0f21eb46131018bb79a3627682eccc9 (diff)
Notes
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 8164472345b5..9bdd49edc3b9 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -587,7 +587,7 @@ release.1:
# Install the system into the various distributions.
release.2:
- cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base
+ cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base
cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \
DISTDIR=${RD}/trees
touch ${.TARGET}
@@ -611,7 +611,8 @@ release.4:
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
rm -rf ${j}_crunch
mkdir ${j}_crunch
- cd ${j}_crunch; ${WMAKEENV} crunchgen -o \
+ cd ${j}_crunch; ${WMAKEENV} MAKEFLAGS="-m ${.CURDIR}/../share/mk" \
+ crunchgen -o \
${.CURDIR}/${TARGET}/${j}_crunch.conf
cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
cd ${.CURDIR}/..; ${BINMAKE} -f Makefile.inc1 _build-tools