diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-23 20:46:23 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-09-23 20:46:23 +0000 |
| commit | 533fbec5057db86c4f60176f9d92497e32546dd0 (patch) | |
| tree | 066c71990b45ef696205f80e6da83db134026598 /share | |
| parent | 8c034f6af71326287436cdb6f2d3f2def9bbba87 (diff) | |
Notes
Diffstat (limited to 'share')
| -rw-r--r-- | share/mk/sys.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/share/mk/sys.mk b/share/mk/sys.mk index 26919a320cc1..041a1f8efe96 100644 --- a/share/mk/sys.mk +++ b/share/mk/sys.mk @@ -52,8 +52,11 @@ __ENV_ONLY_OPTIONS:= \ .endif .if ${MK_AUTO_OBJ} == "yes" # This needs to be done early - before .PATH is computed -# Don't do this if just running 'make -V' or 'make showconfig' -.if ${.MAKEFLAGS:M-V} == "" && !make(showconfig) +# Don't do this if just running 'make -V' (but do when inspecting .OBJDIR) or +# 'make showconfig' (during makeman which enables all options when meta mode +# is not expected) +.if (${.MAKEFLAGS:M-V} == "" || ${.MAKEFLAGS:M.OBJDIR} != "") && \ + !make(showconfig) .sinclude <auto.obj.mk> .endif .endif |
