This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regen/mk_invlists.pl: White-space only
[perl5.git] / cpan / Pod-Perldoc / Makefile.PL
CommitLineData
fa884b76
DM
1use 5.006;
2use strict;
3use warnings;
4
5use ExtUtils::MakeMaker;
6
7my $EUMM_VERSION = $ExtUtils::MakeMaker::VERSION;
8
9WriteMakefile(
10 'NAME' => 'Pod::Perldoc',
11 'VERSION_FROM' => 'lib/Pod/Perldoc.pm',
12
13 'AUTHOR' => 'Mark Allen <mallen@cpan.org>', # maintainer
14 'ABSTRACT_FROM' => 'lib/Pod/Perldoc.pm',
15
16 'PREREQ_PM' => {
17 # Are there any hard dependencies not covered here?
18 'Config' => '0',
19 'Encode' => '0',
20 'Fcntl' => '0',
21 'File::Spec::Functions' => '0',
22 'File::Temp' => '0.22',
23 'IO::Select' => '0',
24 'parent' => '0',
25 'Pod::Man' => '2.18',
26 'Pod::Simple::RTF' => '3.16',
27 'Pod::Simple::XMLOutStream' => '3.16',
28 'Pod::Text' => '0',
29 'strict' => '0',
30 'Symbol' => '0',
31 'Test::More' => '0',
32 'Text::ParseWords' => '0',
33 'warnings' => '0',
34 },
35
36 ($ENV{PERL_CORE} ? () : ('EXE_FILES' => [qw( perldoc )])),
37
38 'META_MERGE' => {
39 no_index => {
40 directory => 'corpus',
41 },
42 resources => {
43 repository => 'https://github.com/mrallen1/Pod-Perldoc.git',
44 },
45 },
46
47 'MAN1PODS' => { 'perldoc.pod' => 'blib/man1/perldoc.1' },
48
49 ($^V >= 5.008001 ? ( 'INSTALLDIRS' => 'perl' ) : ()),
50
51 ( $EUMM_VERSION > 6.31 ? (
52 'LICENSE' => 'perl',
53 ) : () ),
54
55 test => {TESTS => 't/*.t t/*/*.t'}
56);
57
58package MY;
59
60sub libscan
61{ # Determine things that should *not* be installed
62 my($self, $path) = @_;
63 return '' if $path =~ m/~/;
64 $path;
65}
66
67sub init_dirscan
68{
69 my($self) = shift;
70 $self->SUPER::init_dirscan;
71 # Need to force perldoc.pod to install at the top level of the lib dir:
72 $self->{PM}{'perldoc.pod'} = $self->catfile($self->{INST_LIB}, 'perldoc.pod');
73 return;
74}
75
76__END__