From a811ce27f6df55952032443b323d9431ef36ef4f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 9 Dec 2018 14:49:55 +0000 Subject: [PATCH] Makefile: Abbreviate `$(HOME)/...' things as `~/...' in silent-rules. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 07a27fe..7f9e43b 100644 --- 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. -- 2.11.0