summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Signes <rjbs@cpan.org>2015-04-18 15:33:41 +0200
committerRicardo Signes <rjbs@cpan.org>2015-04-18 15:33:41 +0200
commit3916408ad57e7e4163e718920fc76f876294c442 (patch)
tree2cc141126d50071a2e847dbe11538c879ff62061
parent1031545cd947048f30a26d85f356af2eae8f9652 (diff)
downloadperl-3916408ad57e7e4163e718920fc76f876294c442.tar.gz
do not index the modules under lib/perl5db
These are there for testing, and there is nothing to index under lib/perl5db anyway. This has, in the past, led to junk in 02packages. I think this is probably not the perfect way to do this, but it works and also does not seem like the worst way...
-rw-r--r--META.json1
-rw-r--r--META.yml1
-rw-r--r--Porting/makemeta2
3 files changed, 3 insertions, 1 deletions
diff --git a/META.json b/META.json
index 02d52618eb..cf349bba47 100644
--- a/META.json
+++ b/META.json
@@ -53,6 +53,7 @@
"dist/threads-shared",
"dist/Tie-File",
"dist/XSLoader",
+ "lib/perl5db",
"win32"
],
"file" : [
diff --git a/META.yml b/META.yml
index 52ae1fee9a..f22ef9fdae 100644
--- a/META.yml
+++ b/META.yml
@@ -51,6 +51,7 @@ no_index:
- dist/threads-shared
- dist/Tie-File
- dist/XSLoader
+ - lib/perl5db
- win32
file:
- autodoc.pl
diff --git a/Porting/makemeta b/Porting/makemeta
index 69810488ac..cb6944e24a 100644
--- a/Porting/makemeta
+++ b/Porting/makemeta
@@ -70,7 +70,7 @@ my @CPAN = grep { $Modules{$_}{CPAN} } keys %Modules;
my @files = ('autodoc.pl', 'lib/unicore/mktables', 'TestInit.pm',
'Porting/Maintainers.pm', 'Porting/perldelta_template.pod',
map { get_module_files($_) } @CPAN);
-my @dirs = ('cpan', 'win32', grep { -d $_ && $_ !~ /^cpan/ } map { get_module_pat($_) } @CPAN);
+my @dirs = ('cpan', 'win32', 'lib/perl5db', grep { -d $_ && $_ !~ /^cpan/ } map { get_module_pat($_) } @CPAN);
my %dirs;
@dirs{@dirs} = ();