summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 23:29:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-04-16 23:29:33 -0700
commit3817d631de9ca75ef60fd18165ffc7ee4f8ab269 (patch)
treea41ad98eb268ee78066d08d04d00a197dd3bd902
parentMerge branch 'sb/show-diff-for-submodule-in-diff-fix' (diff)
parentperl: regenerate perl.mak if perl -V changes (diff)
downloadtgif-3817d631de9ca75ef60fd18165ffc7ee4f8ab269.tar.xz
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
-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) $@+