diff options
author | ru <ru@FreeBSD.org> | 2002-04-30 11:50:01 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-30 11:50:01 +0000 |
commit | 7080bdd505d23fb80790b3be1dd042ac2a9e78ce (patch) | |
tree | c7fde9c88769179911c1c4aab5ca56d0ef9414e8 /Makefile.inc1 | |
parent | 443c2c2e1048b82b79905dc0c6311889ccaf950c (diff) | |
download | FreeBSD-src-7080bdd505d23fb80790b3be1dd042ac2a9e78ce.zip FreeBSD-src-7080bdd505d23fb80790b3be1dd042ac2a9e78ce.tar.gz |
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'.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 9d45af1..cb72e88 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 |