summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2000-11-21 04:37:30 +0000
committermarcel <marcel@FreeBSD.org>2000-11-21 04:37:30 +0000
commitda4d2f75d9eca5f19b86defef417d6c0d89fa459 (patch)
treed20e63a9f061d2a0c8a4137e7bffe9f7664a9c4e /Makefile.inc1
parent77effa8060b37afac5cafb32e16704979b019057 (diff)
downloadFreeBSD-src-da4d2f75d9eca5f19b86defef417d6c0d89fa459.zip
FreeBSD-src-da4d2f75d9eca5f19b86defef417d6c0d89fa459.tar.gz
Fix release, broken by the perl cross-build fixes.
The distribute target is basicly the same as an install. For perl, this means that miniperl is needed. Since miniperl is only present in the object directory, we need to make sure the path is set correctly. To do this, we have make release use a new distribworld target that sets the path before doing a make distribute.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc19
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 2a92102..4d09999 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -334,6 +334,15 @@ reinstall:
.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
+
+#
# buildkernel and installkernel
#
# Which kernels to build and/or install is specified by setting
OpenPOWER on IntegriCloud