X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Build.PL;h=a919ccc6199784d80e105cabd792d91e61e29204;hb=7c72bb9db5bbefd87304ee9c581ffad2f0fdb5c5;hp=9af804a7a15a7a6b7135b46f12fec8330ce41c9c;hpb=fbe8c8c4b14d12e8f2e254abe7aab98c74391920;p=gitmo%2FClass-C3-XS.git diff --git a/Build.PL b/Build.PL index 9af804a..a919ccc 100644 --- a/Build.PL +++ b/Build.PL @@ -1,21 +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', - }, - 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';