WITH_META_MODE: Disable for 'make install' from top-level.
See r298220 for more explanation. We don't want to prevent installing if a cookie exists for the install target. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
fde5f82005
commit
1193ee1f1f
@ -18,6 +18,13 @@ SRC_ENV_CONF?= /etc/src-env.conf
|
||||
_src_env_conf_included_: .NOTMAIN
|
||||
.endif
|
||||
|
||||
# Top-level installs should not use meta mode as it may prevent installing
|
||||
# based on cookies.
|
||||
.if make(*install*) && ${.MAKE.LEVEL} == 0
|
||||
META_MODE= normal
|
||||
MK_META_MODE= no
|
||||
.endif
|
||||
|
||||
# If we were found via .../share/mk we need to replace that
|
||||
# with ${.PARSEDIR:tA} so that we can be found by
|
||||
# sub-makes launched from objdir.
|
||||
|
Loading…
Reference in New Issue
Block a user