root/Apache-DefaultCharset/trunk/Makefile.PL

Revision 653 (checked in by miyagawa, 18 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 use ExtUtils::MakeMaker;
2 use Apache::src;
3
4 my $inc = Apache::src->new->inc;
5
6 WriteMakefile(
7     'NAME'      => 'Apache::DefaultCharset',
8     'VERSION_FROM' => 'lib/Apache/DefaultCharset.pm', # finds $VERSION
9     'INC' => $inc,
10     'PREREQ_PM' => {
11         Test::More => 0.32,
12         mod_perl => 1.20,
13     },
14 );
15
16 sub MY::test {
17     if (eval "require Apache::TestMM") {
18         Apache::TestMM::generate_script('t/TEST');
19         return Apache::TestMM->test;
20     }
21
22     return <<EOF;
23 test::
24 \t\@echo This test suite requires Apache::Test
25 \t\@echo available from the mod_perl 2.0 sources
26 \t\@echo or the httpd-test distribution.
27 EOF
28     ;
29 }
30
Note: See TracBrowser for help on using the browser.