summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2015-05-29 03:26:48 -0400
committerJunio C Hamano <gitster@pobox.com>2015-05-29 09:22:19 -0700
commit7c37a5dc82ec5114c4a281a64e09a965341bf5f2 (patch)
tree80077725b250cea14e68074b622fe2052bba0992
parenta2d25ef07f0fd268ea69631266e2f51f0bae4e62 (diff)
downloadgit-jk/make-fix-dependencies.tar.gz
Makefile: silence perl/PM.stamp recipejk/make-fix-dependencies
Every time we run "make", we update perl/PM.stamp, which contains a list of all of the perl module files (if it's updated, we need to rebuild perl/perl.mak, since the Makefile will not otherwise know about the new files). This means that every time "make" is run, we see: GEN perl/PM.stamp in the output, even though it is not likely to have changed. Let's make this recipe completely silent, as we do for other auto-generated dependency files (e.g., GIT-CFLAGS). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8806aeb4bb..f3376e3585 100644
--- a/Makefile
+++ b/Makefile
@@ -1685,7 +1685,7 @@ $(SCRIPT_PERL_GEN): perl/perl.mak
perl/perl.mak: perl/PM.stamp
perl/PM.stamp: FORCE
- $(QUIET_GEN)$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
+ @$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
$(RM) $@+