diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2007-03-06 23:37:18 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-06 17:16:37 -0800 |
commit | 31d0399c3c310d035cd7ed55c094f0b636ac5e20 (patch) | |
tree | 757870569c94571ea84ae038676cc98c93774f92 /Makefile | |
parent | 2314c947706b9480ddd8c1420efa8da523d99c9f (diff) | |
download | git-31d0399c3c310d035cd7ed55c094f0b636ac5e20.tar.gz |
More build output cleaning up
- print output file name for .c files
- suppress output of the names of subdirectories when make changes into them
- use GEN prefix for makefile generation in perl/
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -605,14 +605,16 @@ ifdef NO_PERL_MAKEMAKER export NO_PERL_MAKEMAKER endif ifndef V - QUIET_CC = @echo ' ' CC $<; + QUIET_CC = @echo ' ' CC $@; QUIET_AR = @echo ' ' AR $@; QUIET_LINK = @echo ' ' LINK $@; QUIET_BUILT_IN = @echo ' ' BUILTIN $@; QUIET_GEN = @echo ' ' GEN $@; QUIET_SUBDIR0 = @subdir= - QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir + QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; \ + $(MAKE) --no-print-directory -C $$subdir export V + export QUIET_GEN else QUIET_SUBDIR0 = $(MAKE) -C QUIET_SUBDIR1 = @@ -685,7 +687,7 @@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh $(patsubst %.perl,%,$(SCRIPT_PERL)): perl/perl.mak perl/perl.mak: GIT-CFLAGS - $(MAKE) -C perl PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) + $(QUIET_SUBDIR0)perl $(QUIET_SUBDIR1) PERL_PATH='$(PERL_PATH_SQ)' prefix='$(prefix_SQ)' $(@F) $(patsubst %.perl,%,$(SCRIPT_PERL)): % : %.perl $(QUIET_GEN)rm -f $@ $@+ && \ |