summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-04-16 23:29:33 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-16 23:29:33 -0700
commit3817d631de9ca75ef60fd18165ffc7ee4f8ab269 (patch)
treea41ad98eb268ee78066d08d04d00a197dd3bd902 /Makefile
parent1776a710d615c77e3c66be2f4a08c36663f88a07 (diff)
parentc59c4939c2ecef21f5dd913698552bd0fffe5ebb (diff)
downloadgit-3817d631de9ca75ef60fd18165ffc7ee4f8ab269.tar.gz
Merge branch 'ab/regen-perl-mak-with-different-perl'
Update the build dependency so that an update to /usr/bin/perl etc. result in recomputation of perl.mak file. * ab/regen-perl-mak-with-different-perl: perl: regenerate perl.mak if perl -V changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9b36068ac5..d595ea3837 100644
--- a/Makefile
+++ b/Makefile
@@ -1851,6 +1851,7 @@ perl/perl.mak: perl/PM.stamp
perl/PM.stamp: FORCE
@$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
+ $(PERL_PATH) -V >>$@+ && \
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
$(RM) $@+