2009-10-14T19:59:41
reneeWie sieht denn Deine Build.PL aus?
Hi renee!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'CGI::Application::Plugin::HTCompiled',
license => 'perl',
dist_author => 'Mark Stosberg<mark@summersault.com>',
dist_version_from => 'lib/CGI/Application/Plugin/HTCompiled.pm',
requires => {
'Test::More' => 0,
'Test::Exception' => 0,
'CGI::Application' => '>= 4.31',
'HTML::Template::Compiled' => 0,
'UNIVERSAL' => 0,
},
create_makefile_pl => 'traditional',
create_readme => 1,
add_to_cleanup => [ 'CGI-Application-Plugin-HTCompiled-*' ],
);
$builder->create_build_script();
Hier ist zum Vergleich die Makefile.PL, die automatisch erstellt wird, wenn ich "Build dist" aufrufe.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Note: this file was auto-generated by Module::Build::Compat version 0.340201
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
'INSTALLDIRS' => 'site',
'NAME' => 'CGI::Application::Plugin::HTCompiled',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/CGI/Application/Plugin/HTCompiled.pm',
'PREREQ_PM' => {
'Test::More' => 0,
'HTML::Template::Compiled' => 0,
'CGI::Application' => '>= 4.31',
'UNIVERSAL' => 0,
'Test::Exception' => 0
}
)
;