aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2012-10-06 20:01:05 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2012-10-06 20:01:05 +0000
commit0815243c3937b61db8b5a10cc652900d4df4acb0 (patch)
tree70de730ba0fbf9e81dd585c1575a057d03a31be8 /Makefile
parent8bf749ef3a7a8c46811f68c985612e84501d23a0 (diff)
Notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1303e0ea18bd..6d070ee8417b 100644
--- a/Makefile
+++ b/Makefile
@@ -280,12 +280,14 @@ kernel: buildkernel installkernel
# for building the world.
#
upgrade_checks:
+.if !defined(.PARSEDIR)
@if ! (cd ${.CURDIR}/tools/build/make_check && \
PATH=${PATH} ${BINMAKE} obj >/dev/null 2>&1 && \
PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \
then \
(cd ${.CURDIR} && ${MAKE} make); \
fi
+.endif
#
# Upgrade make(1) to the current version using the installed