X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=57fe4ad876c02008f6841e78d39a58ce465b5a3b;hp=4559bb675a3f845632d6e933236c9d5f65dc4337;hpb=8995e8271e0f7f7b9c0942a4425e8a44099bf608;p=gitmo%2FClass-C3-XS.git diff --git a/Build.PL b/Build.PL index 4559bb6..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,22 +1,3 @@ -use Module::Build; - -use strict; - -my $build = Module::Build->new( - module_name => 'Class::C3::XS', - license => 'perl', - optional => {}, - build_requires => { - 'Test::More' => '0.47', - 'Test::Exception' => 0.15, - }, - create_makefile_pl => 'traditional', - create_readme => 1, - recursive_test_files => 1, - add_to_cleanup => [ - 'META.yml', '*.bak', '*.gz', 'Makefile.PL', - ], -); - -$build->create_build_script; - +# Dear Distribution Packager. This use of require is intentional. +# Module::Install detects Build.PL usage and acts accordingly. +require 'Makefile.PL';