perl: detect new files in MakeMaker builds

While Makefile.PL now finds .pm files on its own, it does not
detect new files after it generates perl/perl.mak.

[ew: commit message, minor tweaks]

ref: http://mid.gmane.org/7vlii51xz4.fsf@alter.siamese.dyndns.org

Signed-off-by: Eric Wong <normalperson@yhbt.net>
This commit is contained in:
Junio C Hamano
2012-07-27 20:04:20 +00:00
committed by Eric Wong
parent 98d5439dad
commit ee9be06770
3 changed files with 11 additions and 0 deletions

1
perl/.gitignore vendored
View File

@ -5,3 +5,4 @@ MYMETA.yml
blib
blibdirs
pm_to_blib
PM.stamp

View File

@ -20,6 +20,9 @@ clean:
$(RM) ppport.h
$(RM) $(makfile)
$(RM) $(makfile).old
$(RM) PM.stamp
$(makfile): PM.stamp
ifdef NO_PERL_MAKEMAKER
instdir_SQ = $(subst ','\'',$(prefix)/lib)