]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefiles: Align the columns of output.
[notmuch] / Makefile.local
index 03e3237117e1a78f39787234d5caed8afecc79f7..9b7423edf524b9059a2b229c51031461b6859f07 100644 (file)
@@ -38,21 +38,21 @@ endif
 # user how to enable verbose compiles.
 ifeq ($(V),)
 quiet_DOC := "Use \"$(MAKE) V=1\" to see the verbose compile lines.\n"
-quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"  $1 $2        $@\n"; $($1)
-quiet_args = @printf $(quiet_DOC)$(eval quiet_DOC:=)"  $1              $2\n"; $($1) $2
+quiet = @printf $(quiet_DOC)$(eval quiet_DOC:=)"  %12s $@\n" "$1 $2"; $($1)
+quiet_args = @printf $(quiet_DOC)$(eval quiet_DOC:=)"  %12s$2\n" $1; $($1) $2
 endif
 # The user has explicitly enabled quiet compilation.
 ifeq ($(V),0)
-quiet = @printf "  $1 $2       $@\n"; $($1)
-quiet_args = @printf "  $1             $2\n"; $($1) $2
+quiet = @printf "  %12s $@\n" "$1 $2"; $($1)
+quiet_args = @printf "  %12s$2\n" $1; $($1) $2
 endif
 # Otherwise, print the full command line.
 quiet ?= $($1)
 quiet_args ?= $($1) $2
 
 quiet_mkdir = $(call quiet_args,MKDIR,$1)
-quiet_install_bin = $(call quiet_args,INSTBIN,$1)
-quiet_install_data = $(call quiet_args,INSTDATA,$1)
+quiet_install_bin = $(call quiet_args,INSTALL-BIN,$1)
+quiet_install_data = $(call quiet_args,INSTALL-DATA,$1)
 quiet_symlink = $(call quiet_args,SYMLINK,$1)
 
 %.o: %.cc $(global_deps)