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
This commit is contained in:
parent
f88ccb8bee
commit
be26ce21e0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272053
@ -911,7 +911,7 @@ packageworld:
|
|||||||
# and do a 'make reinstall' on the *client* to install new binaries from the
|
# and do a 'make reinstall' on the *client* to install new binaries from the
|
||||||
# most recent server build.
|
# most recent server build.
|
||||||
#
|
#
|
||||||
reinstall:
|
reinstall: .MAKE
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Making hierarchy"
|
@echo ">>> Making hierarchy"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@ -926,7 +926,7 @@ reinstall:
|
|||||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
|
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install32
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
redistribute:
|
redistribute: .MAKE
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Distributing everything"
|
@echo ">>> Distributing everything"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@ -936,7 +936,7 @@ redistribute:
|
|||||||
DISTRIBUTION=lib32
|
DISTRIBUTION=lib32
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
distrib-dirs distribution:
|
distrib-dirs distribution: .MAKE
|
||||||
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} \
|
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} \
|
||||||
${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=${METALOG} ${.TARGET}
|
${IMAKE_INSTALL} ${IMAKE_MTREE} METALOG=${METALOG} ${.TARGET}
|
||||||
|
|
||||||
@ -1464,7 +1464,7 @@ native-xtools: .MAKE
|
|||||||
#
|
#
|
||||||
# hierarchy - ensure that all the needed directories are present
|
# hierarchy - ensure that all the needed directories are present
|
||||||
#
|
#
|
||||||
hierarchy hier:
|
hierarchy hier: .MAKE
|
||||||
cd ${.CURDIR}/etc && ${HMAKE} distrib-dirs
|
cd ${.CURDIR}/etc && ${HMAKE} distrib-dirs
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user