summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-10-23 01:06:00 +0000
committerngie <ngie@FreeBSD.org>2014-10-23 01:06:00 +0000
commitcbb305020c86a370b77d12e18e372136ff9fe9a5 (patch)
tree7dcc4dda5b55bd80c7fa2382ea614edea4f253d6 /Makefile.inc1
parenta927de110df91c2722c8cbd297e283cc3a8aad8f (diff)
downloadFreeBSD-src-cbb305020c86a370b77d12e18e372136ff9fe9a5.zip
FreeBSD-src-cbb305020c86a370b77d12e18e372136ff9fe9a5.tar.gz
MFC r272053:
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 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 c2aa6d1..d4dfd1c 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -925,7 +925,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 "--------------------------------------------------------------"
@@ -940,7 +940,7 @@ reinstall:
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
.endif
-redistribute:
+redistribute: .MAKE
@echo "--------------------------------------------------------------"
@echo ">>> Distributing everything"
@echo "--------------------------------------------------------------"
@@ -950,7 +950,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}
@@ -1449,7 +1449,7 @@ cross-tools: .MAKE
#
# hierarchy - ensure that all the needed directories are present
#
-hierarchy hier:
+hierarchy hier: .MAKE
cd ${.CURDIR}/etc && ${HMAKE} distrib-dirs
#
OpenPOWER on IntegriCloud