aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-04-30 11:50:01 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-04-30 11:50:01 +0000
commit8f1f55e9ae477a4a701e3aae7055f51c09dd9574 (patch)
treec7fde9c88769179911c1c4aab5ca56d0ef9414e8 /Makefile.inc1
parentd6e61d989b9c7f44c9890e1e85646a2adbc00afb (diff)
downloadsrc-8f1f55e9ae477a4a701e3aae7055f51c09dd9574.tar.gz
src-8f1f55e9ae477a4a701e3aae7055f51c09dd9574.zip
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'.
Notes
Notes: svn path=/head/; revision=95793
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc119
1 files changed, 8 insertions, 11 deletions
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