From: Mark Wooding Date: Sat, 8 Dec 2018 13:05:37 +0000 (+0000) Subject: Makefile: Factor the printing out from `v_tag'. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/2e0a80121bb8a31e7c8dddbebdbffc6ca755638a?ds=sidebyside;hp=2029ddc4ffe73bac57a2d755b0a2aca49b2722c7 Makefile: Factor the printing out from `v_tag'. --- diff --git a/Makefile b/Makefile index f8d0d7e..17c536a 100644 --- a/Makefile +++ b/Makefile @@ -21,10 +21,11 @@ symlink-ok-p = $(shell \ ## Silent rules machinery. V = 0 -v_tag = $(call v_tag_$V,$1) -v_tag_0 = @printf " %-8s %s\n" "$1" $(call quote,$@); 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_tag = $(V_AT)$(call v_print_$V,$1,$@) ## Hack. relax =