summaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2000-11-21 04:37:30 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2000-11-21 04:37:30 +0000
commit0a0743b52a41a552fe27c4b29e9b62de29f6e213 (patch)
tree4125df1c0a6a033d24e8f33ff1ececd9db166d1a /Makefile.inc1
parent4c6250e51064e163fd5b8c5c844e06b3c0762183 (diff)
downloadsrc-test2-0a0743b52a41a552fe27c4b29e9b62de29f6e213.tar.gz
src-test2-0a0743b52a41a552fe27c4b29e9b62de29f6e213.zip
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.
Notes
Notes: svn path=/head/; revision=68987
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 2a92102578de..4d0999911d4a 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