Skip to content

Commit

Permalink
Merge branch 'ab/regen-perl-mak-with-different-perl'
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gitster committed Apr 17, 2017
2 parents 1776a71 + c59c493 commit 3817d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) $@+

Expand Down

0 comments on commit 3817d63

Please sign in to comment.