diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:09:11 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-04-17 12:09:11 -0400 |
commit | 94f26cec62be7f0d766f80f7376ea5e0040948ae (patch) | |
tree | 9e94e128f8a0aa0c0bd90f175b9e0a4096a43bd2 /config/prelude.mk | |
parent | adf0ab47c2d18d807bb21345b92be9cc5525d539 (diff) | |
download | bfs-94f26cec62be7f0d766f80f7376ea5e0040948ae.tar.xz |
build: Dont include ${BUILDDIR} in short messages
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"; \ |