diff options
Diffstat (limited to 'config/prelude.mk')
-rw-r--r-- | config/prelude.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/prelude.mk b/config/prelude.mk index 1d5fb83..2bcb208 100644 --- a/config/prelude.mk +++ b/config/prelude.mk @@ -95,6 +95,9 @@ IS_V := ${TRUTHY,${V}} Q, := @ Q := ${Q,${IS_V}} +# The current target, with ${BUILDDIR} stripped for shorter messages +TGT = ${@:${BUILDDIR}/%=%} + # Show full commands with `make V=1`, otherwise short summaries MSG = @msg() { \ MSG="$$1"; \ |