summaryrefslogtreecommitdiff
path: root/perl/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-03-10 22:33:13 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-10 22:33:13 -0800
commit5339fb2e8b230c2306539ea4927c56c9772ea23d (patch)
tree19d66bc0781b1b64af281f0628a1231d4554c8b4 /perl/Makefile
parentMerge branch 'maint' (diff)
parentAllow "make -w" generate its usual output (diff)
downloadtgif-5339fb2e8b230c2306539ea4927c56c9772ea23d.tar.xz
Merge branch 'sp/make'
* sp/make: Allow "make -w" generate its usual output Support of "make -s": do not output anything of the build itself More build output cleaning up Make 'make' quiet by default Make 'make' quieter while building git
Diffstat (limited to 'perl/Makefile')
-rw-r--r--perl/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/perl/Makefile b/perl/Makefile
index 099beda873..5ec0389883 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -6,11 +6,15 @@ makfile:=perl.mak
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
prefix_SQ = $(subst ','\'',$(prefix))
+ifndef V
+ QUIET = @
+endif
+
all install instlibdir: $(makfile)
- $(MAKE) -f $(makfile) $@
+ $(QUIET)$(MAKE) -f $(makfile) $@
clean:
- test -f $(makfile) && $(MAKE) -f $(makfile) $@ || exit 0
+ $(QUIET)test -f $(makfile) && $(MAKE) -f $(makfile) $@ || exit 0
$(RM) ppport.h
$(RM) $(makfile)
$(RM) $(makfile).old
@@ -29,7 +33,7 @@ $(makfile): ../GIT-CFLAGS Makefile
echo ' echo $(instdir_SQ)' >> $@
else
$(makfile): Makefile.PL ../GIT-CFLAGS
- '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
+ $(QUIET_GEN)'$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
endif
# this is just added comfort for calling make directly in perl dir