diff options
-rw-r--r-- | share/mk/local.sys.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/mk/local.sys.mk b/share/mk/local.sys.mk index 424a965..87f945e 100644 --- a/share/mk/local.sys.mk +++ b/share/mk/local.sys.mk @@ -29,6 +29,7 @@ M_whence = ${M_type}:M/*:[1] # convert a path to a valid shell variable M_P2V = tu:C,[./-],_,g +.if ${MK_META_MODE} == "yes" MAKE_PRINT_VAR_ON_ERROR+= \ .CURDIR \ .MAKE \ @@ -48,6 +49,7 @@ MAKE_PRINT_VAR_ON_ERROR+= \ .if ${.MAKE.LEVEL} > 0 MAKE_PRINT_VAR_ON_ERROR += .MAKE.MAKEFILES .PATH .endif +.endif # these are handy # we can use this for a cheap timestamp at the start of a target's script, |