summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-09-24 04:06:54 +0000
committerngie <ngie@FreeBSD.org>2014-09-24 04:06:54 +0000
commit39af746d2ced3bfd64a8067bdc7e94caeeabd0b1 (patch)
treeb4c4563ca3b1a606c2d73a0ab990acacad9f98a1 /Makefile.inc1
parenta8e41f74166d4811cb12ead8305b2178edeee7de (diff)
downloadFreeBSD-src-39af746d2ced3bfd64a8067bdc7e94caeeabd0b1.zip
FreeBSD-src-39af746d2ced3bfd64a8067bdc7e94caeeabd0b1.tar.gz
Have distrib-dirs, distribution, hier, hierarchy, redistribute, and reinstall
depend on the .MAKE special target This will allow users to do something like the following to print out the results of the running the simulated make target with bmake, like some of the other top-level make targets in Makefile.inc1: % make -f Makefile.inc1 -n distribution TARGET=i386 TARGET_ARCH=i386 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index b99b4d3..333c734 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -911,7 +911,7 @@ packageworld:
# and do a 'make reinstall' on the *client* to install new binaries from the
# most recent server build.
#
-reinstall:
+reinstall: .MAKE
@echo "--------------------------------------------------------------"
@echo ">>> Making hierarchy"
@echo "--------------------------------------------------------------"
@@ -926,7 +926,7 @@ reinstall:
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
.endif
-redistribute:
+redistribute: .MAKE
@echo "--------------------------------------------------------------"
@echo ">>> Distributing everything"
@echo "--------------------------------------------------------------"
@@ -936,7 +936,7 @@ redistribute:
DISTRIBUTION=lib32
.endif
-distrib-dirs distribution:
+distrib-dirs distribution: .MAKE
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} \
${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=${METALOG} ${.TARGET}
@@ -1464,7 +1464,7 @@ native-xtools: .MAKE
#
# hierarchy - ensure that all the needed directories are present
#
-hierarchy hier:
+hierarchy hier: .MAKE
cd ${.CURDIR}/etc && ${HMAKE} distrib-dirs
#
OpenPOWER on IntegriCloud