Makefiles: Align the columns of output.

Much better.
This commit is contained in:
Carl Worth 2010-04-01 00:07:08 -07:00
parent 33d5cc415e
commit c20be126e5
2 changed files with 8 additions and 8 deletions

View 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)

4
configure vendored
View file

@ -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