chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
689b453
)
Makefile: Abbreviate `$(HOME)/...' things as `~/...' in silent-rules.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 9 Dec 2018 14:49:55 +0000
(14:49 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 9 Dec 2018 14:49:55 +0000
(14:49 +0000)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 07a27fe011572e30be5ff3d6989565fd8f71b47c..7f9e43b30a919623b19956b9b02dbdb916add79a 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-24,7
+24,8
@@
V = 0
V_AT = $(V_AT_$V)
V_AT_0 = @
v_print = $(call v_print_$V,$1,$2)
-v_print_0 = printf " %-8s %s\n" "$1" $(call quote,$2);
+v_print_0 = \
+ printf " %-8s %s\n" "$1" $(call quote,$(patsubst $(HOME)/%,~/%,$2));
v_tag = $(V_AT)$(call v_print_$V,$1,$@)
## Hack.