Makefile: Factor the printing out from `v_tag'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 8 Dec 2018 13:05:37 +0000 (13:05 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 8 Dec 2018 13:12:13 +0000 (13:12 +0000)
Makefile

index f8d0d7e..17c536a 100644 (file)
--- 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                   =