Add autodoc.pl to the 'no_index' section of META.yml
authorNicholas Clark <nick@ccl4.org>
Mon, 19 Dec 2011 14:07:00 +0000 (15:07 +0100)
committerNicholas Clark <nick@ccl4.org>
Mon, 19 Dec 2011 14:07:00 +0000 (15:07 +0100)
This stops search.cpan.org mistaking its stub contents for the (full,
generated) perlapi manpage.

META.yml
Porting/makemeta

index 6adad41..6830fc5 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -59,6 +59,7 @@ no_index:
     - lib/version
     - win32
   file:
+    - autodoc.pl
     - dist/IO/ChangeLog
     - dist/IO/hints/sco.pl
     - dist/IO/IO.pm
index af39ecc..90ce9bf 100644 (file)
@@ -22,7 +22,7 @@ my $file = "META.yml";
 use Maintainers qw(%Modules get_module_files get_module_pat);
 
 my @CPAN  = grep { $Modules{$_}{CPAN} } keys %Modules;
-my @files = ('lib/unicore/mktables', 'TestInit.pm',
+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);