зеркало из https://github.com/microsoft/git.git
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
This commit is contained in:
Коммит
3817d631de
1
Makefile
1
Makefile
|
@ -1851,6 +1851,7 @@ perl/perl.mak: perl/PM.stamp
|
||||||
|
|
||||||
perl/PM.stamp: FORCE
|
perl/PM.stamp: FORCE
|
||||||
@$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
|
@$(FIND) perl -type f -name '*.pm' | sort >$@+ && \
|
||||||
|
$(PERL_PATH) -V >>$@+ && \
|
||||||
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
|
{ cmp $@+ $@ >/dev/null 2>/dev/null || mv $@+ $@; } && \
|
||||||
$(RM) $@+
|
$(RM) $@+
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче