This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Tweaks to podlators integration.
[perl5.git] / cpan / podlators / Makefile.PL
index 964756c..5092857 100644 (file)
@@ -76,7 +76,8 @@ my %metadata = (
     MAN1PODS => {
         man1pod('scripts', 'pod2man'),
         man1pod('scripts', 'pod2text'),
-        man1pod('pod',     'perlpodstyle'),
+        # This one lives in the top-level pod/ directory in core
+        ($ENV{PERL_CORE} ? () : man1pod('pod',     'perlpodstyle')),
     },
 
     # Clean some additional files.
@@ -129,8 +130,6 @@ for my $key (keys(%supported)) {
     }
 }
 
-delete $metadata{MAN1PODS} if $ENV{PERL_CORE};
-
 # Generate the actual Makefile.  Pick an arbitrary module to pull the version
 # from, since they should all have the same version.
 WriteMakefile(%metadata);