]>
Commit | Line | Data |
---|---|---|
67e78ff2 | 1 | use 5.006001; |
2 | use ExtUtils::MakeMaker; | |
3 | # See lib/ExtUtils/MakeMaker.pm for details of how to influence | |
4 | # the contents of the Makefile that is written. | |
237e9506 TB |
5 | WriteMakefile |
6 | ( | |
7 | NAME => 'HTML::Element::Library', | |
8 | VERSION_FROM => 'lib/HTML/Element/Library.pm', # finds $VERSION | |
9 | PREREQ_PM => | |
10 | { | |
11 | Array::Group => 1.00, | |
67e78ff2 | 12 | |
237e9506 TB |
13 | Moose => 0, |
14 | File::Slurp => 9999.06, | |
67e78ff2 | 15 | |
237e9506 TB |
16 | HTML::FillInForm => 0, |
17 | HTML::PrettyPrinter => 0.03, | |
6c133526 | 18 | HTML::Tree => 4.1, |
67e78ff2 | 19 | |
237e9506 TB |
20 | List::Rotation::Cycle => 1.003, |
21 | List::MoreUtils => 0.09, | |
67e78ff2 | 22 | |
237e9506 | 23 | Params::Validate => 0.80, |
67e78ff2 | 24 | |
237e9506 TB |
25 | Scalar::Listify => 0.02, |
26 | }, | |
27 | ($] >= 5.005 ? ## Add these new keywords supported since 5.005 | |
28 | ( | |
29 | ||
30 | AUTHOR => 'Terrence Brannon <tbone@cpan.org>') : ()), | |
31 | ); | |
67e78ff2 | 32 | |
33 | sub MY::postamble { q{ | |
34 | ||
35 | cleandist: FORCE | |
36 | make again; make cleanmanifest; make docs; make dist | |
37 | ||
38 | again: FORCE | |
39 | make clean; perl Makefile.PL; make pm_to_blib | |
40 | ||
41 | cleanmanifest: realclean FORCE | |
42 | rm MANIFEST ; perl Makefile.PL; touch MANIFEST; make manifest | |
43 | ||
44 | %.t: pm_to_blib FORCE | |
45 | make; perl -Iblib/lib $@ | |
46 | ||
47 | docs : README CHANGES | |
48 | ||
49 | README: lib/HTML/Element/Library.pm | |
50 | pod2text lib/HTML/Element/Library.pm > README | |
51 | ||
52 | CHANGES: lib/HTML/Element/Library/Changes.pod | |
53 | pod2text lib/HTML/Element/Library/Changes.pod > CHANGES | |
54 | ||
55 | }; } |