Combine restage/reinstall in a safe way.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
08907ec39d
commit
ecb92e2d47
@ -975,27 +975,19 @@ packageworld: .PHONY
|
|||||||
# 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: .MAKE .PHONY
|
restage reinstall: .MAKE .PHONY
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Making hierarchy"
|
@echo ">>> Making hierarchy"
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
|
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
|
||||||
LOCAL_MTREE=${LOCAL_MTREE:Q} hierarchy
|
LOCAL_MTREE=${LOCAL_MTREE:Q} hierarchy
|
||||||
@echo
|
.if make(restage)
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Installing everything"
|
@echo ">>> Making distribution"
|
||||||
@echo "--------------------------------------------------------------"
|
|
||||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install
|
|
||||||
.if defined(LIBCOMPAT)
|
|
||||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 install${libcompat}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
restage: .MAKE .PHONY
|
|
||||||
@echo "--------------------------------------------------------------"
|
|
||||||
@echo ">>> Making hierarchy"
|
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
|
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 \
|
||||||
LOCAL_MTREE=${LOCAL_MTREE:Q} hierarchy distribution
|
LOCAL_MTREE=${LOCAL_MTREE:Q} distribution
|
||||||
|
.endif
|
||||||
@echo
|
@echo
|
||||||
@echo "--------------------------------------------------------------"
|
@echo "--------------------------------------------------------------"
|
||||||
@echo ">>> Installing everything"
|
@echo ">>> Installing everything"
|
||||||
|
Loading…
Reference in New Issue
Block a user