]> git.notmuchmail.org Git - notmuch/commitdiff
Makefiles: Align the columns of output.
authorCarl Worth <cworth@cworth.org>
Thu, 1 Apr 2010 07:07:08 +0000 (00:07 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 1 Apr 2010 07:07:08 +0000 (00:07 -0700)
Much better.

Makefile.local
configure

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)
index 3e30cee9466612e83a5dc09e0664b942ba48529a..df1636d2f576a4031f9b2e8d6cec9e2846120410 100755 (executable)
--- a/configure
+++ b/configure
@@ -286,10 +286,10 @@ gzip = gzip
 MKDIR = install -d
 
 # Command to install an executable
-INSTBIN = install
+INSTALL-BIN = install
 
 # Command to install a non-executable file (documentation, etc.)
-INSTDATA = install -m0644
+INSTALL-DATA = install -m0644
 
 # Command to create a symbolic link
 SYMLINK = ln -sf