File: Makefile.PL

package info (click to toggle)
libpod-pseudopod-perl 0.19-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 280 kB
  • sloc: perl: 1,428; makefile: 9
file content (30 lines) | stat: -rw-r--r-- 910 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
use ExtUtils::MakeMaker;

# The list of tests has to be explicitly generated on Win98.
my @tests;
for my $dir (qw(t)) {
    opendir TESTS, $dir or die $!;
    push @tests, map { "$dir/$_" } grep { /\.t$/ } readdir TESTS;
    closedir TESTS;
}

WriteMakefile(
    NAME         => 'Pod::PseudoPod',
    VERSION_FROM => 'lib/Pod/PseudoPod.pm', # finds $VERSION
    PREREQ_PM    => {
        'Pod::Simple'    => 3.02,
        'Text::Wrap'     => 98.112902,
        'HTML::Entities' => 0,
        'Test::More'     => 0,
    },
    EXE_FILES    => [ 'bin/ppod2html',
                      'bin/ppod2txt',
                      'bin/ppod2docbook',
                      'bin/ppodchecker',
                    ],
    test =>
        {TESTS => "@tests"},
    AUTHOR       => 'Allison Randal (allison@perl.org)',
    ABSTRACT     => "A framework for parsing PseudoPod",
    PL_FILES => {}, # ignore the Build.PL file
);