rewrite home page redirect
[dh-make-perl] / dev / arm / libhtml-parser-perl / libhtml-parser-perl-3.56 / Makefile.PL
1 require 5.006;
2 use strict;
3 use ExtUtils::MakeMaker;
4
5 WriteMakefile(
6     NAME         => 'HTML::Parser',
7     VERSION_FROM => 'Parser.pm',
8     H            => [ "hparser.h", "hctype.h", "tokenpos.h", "pfunc.h",
9                       "hparser.c", "util.c",
10                     ],
11     PREREQ_PM    => {
12                       'HTML::Tagset' => 3,
13                       'Test::More' => 0,    # only needed to run 'make test'
14                     },
15     DEFINE       => "-DMARKED_SECTION",
16     dist         => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
17     clean        => { FILES => 'hctype.h pfunc.h' },
18 );
19
20
21 sub MY::postamble
22 {
23     '
24 pfunc.h : mkpfunc
25         $(PERL) mkpfunc >pfunc.h
26
27 hctype.h : mkhctype
28         $(PERL) mkhctype >hctype.h
29 '
30 }