Make the `distrib-dirs' target official and working properly

when cross-building (installing).  (This is useful for NFS
installing world/kernel to another architecture machine.)
This commit is contained in:
ru 2005-07-15 14:38:54 +00:00
parent ce10ce6dcb
commit e10a9fc385
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@
#
TGTS= all all-man buildenv buildkernel buildworld checkdpadd clean \
cleandepend cleandir depend distribute distributeworld \
distribution everything \
distrib-dirs distribution everything \
hierarchy install installcheck installkernel installkernel.debug\
reinstallkernel reinstallkernel.debug installworld \
kernel-toolchain libraries lint maninstall \

View File

@ -558,8 +558,8 @@ redistribute:
${_+_}cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute32 DISTRIBUTION=lib32
.endif
distribution:
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} distribution
distrib-dirs distribution:
cd ${.CURDIR}/etc; ${CROSSENV} PATH=${TMPPATH} ${MAKE} ${.TARGET}
#
# buildkernel and installkernel