1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Description: Exclude .svn directories from library scan
Author: Colin Watson <cjwatson@debian.org>
Forwarded: not-needed
Last-Update: 2010-03-02
Index: b/Makefile.PL
===================================================================
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -113,6 +113,13 @@
";
}
+# Exclude .svn directories.
+sub MY::libscan {
+ my($self,$path) = @_;
+ return '' if $path =~ m:(\b(RCS|CVS|SCCS)|\.svn)\b: ;
+ $path;
+}
+
sub MY::postamble {
q{
setversion:
|