From 8f1f55e9ae477a4a701e3aae7055f51c09dd9574 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 30 Apr 2002 11:50:01 +0000 Subject: Milestone #2 in cross-arch make releases. They now work! You need to set TARGET_ARCH and possibly TARGET, the same way you normally do it for a cross build(7). Renamed `distribworld' to a more natutal `distributeworld'. Put pwd_mkdb(8) under ${INSTALLTMP}; for `distributeworld'. --- Makefile.inc1 | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'Makefile.inc1') diff --git a/Makefile.inc1 b/Makefile.inc1 index 9d45af1366d0..cb72e8894991 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -355,14 +355,14 @@ installcheck: # # Installs everything compiled by a 'buildworld'. # -installworld: installcheck +distributeworld installworld: installcheck mkdir -p ${INSTALLTMP} for prog in [ awk cat chflags chmod chown date echo egrep find grep \ - ln make makewhatis mkdir mtree mv perl rm sed sh sysctl \ + ln make makewhatis mkdir mtree mv perl pwd_mkdb rm sed sh sysctl \ test true uname wc zic; do \ cp `which $$prog` ${INSTALLTMP}; \ done - cd ${.CURDIR}; ${IMAKE} reinstall + cd ${.CURDIR}; ${IMAKE} re${.TARGET:S/world$//} rm -rf ${INSTALLTMP} # @@ -390,14 +390,11 @@ reinstall: cd ${.CURDIR}/share/man; ${MAKE} makedb .endif -# -# distribworld -# -# Front-end to distribute to make sure the search path contains -# the object directory. Needed for miniperl. -# -distribworld: - cd ${.CURDIR}; PATH=${TMPPATH} ${MAKE} -f Makefile.inc1 distribute +redistribute: + @echo "--------------------------------------------------------------" + @echo ">>> Distributing everything.." + @echo "--------------------------------------------------------------" + cd ${.CURDIR}; ${MAKE} -f Makefile.inc1 distribute # # buildkernel and installkernel -- cgit v1.2.3