stas 2004/09/26 21:16:22
Modified: perl-framework/Apache-Test Makefile.PL
Log:
a sub-dir Makefile.PL can't have the same function name as the top-level
Makefile.PL :(
Revision Changes Path
1.24 +8 -11 httpd-test/perl-framework/Apache-Test/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/Makefile.PL,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -u -r1.23 -r1.24
--- Makefile.PL 25 Sep 2004 01:51:03 -0000 1.23
+++ Makefile.PL 27 Sep 2004 04:16:22 -0000 1.24
@@ -41,6 +41,13 @@
Apache::TestConfig::custom_config_file_stub_write();
+my @clean_files =
+ qw(lib/Apache/TestConfigData.pm
+ .mypacklist
+ t/TEST
+ Makefile.old
+ );
+
WriteMakefile(
NAME => 'Apache::Test',
VERSION => $VERSION,
@@ -49,19 +56,9 @@
COMPRESS => 'gzip -9f', SUFFIX=>'gz',
},
clean => {
- FILES => "@{ clean_files() }",
+ FILES => "@clean_files",
},
);
-
-sub clean_files {
- return [
- qw(lib/Apache/TestConfigData.pm
- .mypacklist
- t/TEST
- Makefile.old
- ),
- ];
-}
sub set_version {
$VERSION = $Apache::Test::VERSION;