summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2003-07-19 23:17:08 +0000
committerru <ru@FreeBSD.org>2003-07-19 23:17:08 +0000
commit5dff75f40ccaa65e20918935f63a7d8e821228b4 (patch)
tree03a7e52b36e5e3df69fb24de2abea91afad5ca90 /Makefile
parented6c26414be12aa10ea887524c0b1ead61af0257 (diff)
downloadFreeBSD-src-5dff75f40ccaa65e20918935f63a7d8e821228b4.zip
FreeBSD-src-5dff75f40ccaa65e20918935f63a7d8e821228b4.tar.gz
Use an up-to-date make binary in the upgrade_checks target if
one is already available. This avoids sometimes unnecessary step of attempting to rebuild the make binary again which may fail at all if, for example, one has removed his /usr/include before doing an installworld (to keep /usr/include tidied up). Pointed out by: kris, marcel
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b88e350..15e1542 100644
--- a/Makefile
+++ b/Makefile
@@ -141,7 +141,7 @@ kernel: buildkernel installkernel
#
upgrade_checks:
@if ! (cd ${.CURDIR}/tools/regression/usr.bin/make && \
- PATH=${PATH} ${MAKE} >/dev/null 2>&1); \
+ PATH=${PATH} ${BINMAKE} >/dev/null 2>&1); \
then \
(cd ${.CURDIR} && make make); \
fi
OpenPOWER on IntegriCloud