summaryrefslogtreecommitdiff
path: root/perl/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-27 20:04:20 (GMT)
committerEric Wong <normalperson@yhbt.net>2012-07-27 22:14:02 (GMT)
commitee9be06770223238c6a22430eb874754dd22dfb0 (patch)
treea9a59673c197e260512526bb07a2a451c42c8565 /perl/Makefile
parent98d5439dad36f25aa9a2a70cc140d85d94e99bc9 (diff)
downloadgit-ee9be06770223238c6a22430eb874754dd22dfb0.zip
git-ee9be06770223238c6a22430eb874754dd22dfb0.tar.gz
git-ee9be06770223238c6a22430eb874754dd22dfb0.tar.bz2
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>
Diffstat (limited to 'perl/Makefile')
-rw-r--r--perl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl/Makefile b/perl/Makefile
index 6ca7d47..7667c90 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -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)