diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-08-28 04:03:13 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-08-28 04:03:13 +0000 |
| commit | d911f786ab7c711235b2e883bd05895313e95c92 (patch) | |
| tree | add85d530c4cf52fa674167a37c2e0773cd41ef5 /Makefile | |
| parent | c8fb1af26cd65cad3b759a95fa2915af2b940c48 (diff) | |
Notes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -87,9 +87,22 @@ BINMAKE= \ _MAKE= PATH=${PATH} ${BINMAKE} -f Makefile.inc1 # -# Handle the user-driven targets, using the source relative mk files. +# Make sure we have an up-to-date make(1). Only world and buildworld +# should do this as those are the initial targets used for upgrades. +# The user can define ALWAYS_CHECK_MAKE to have this check performed +# for all targets. # +.if defined(ALWAYS_CHECK_MAKE) ${TGTS} ${BITGTS}: upgrade_checks +.else +buildworld: upgrade_checks +.endif + +# +# Handle the user-driven targets, using the source relative mk files. +# + +${TGTS} ${BITGTS}: @cd ${.CURDIR}; \ ${_MAKE} ${.TARGET} |
