X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=cb510263bc09878d6760f4f036c360fb80119c38;hb=54ec262fa0a12060555402a2315d5441c51b2ba2;hp=77c378a232c329f0613190a6df802759647a8780;hpb=2e50a8e0cff6fe6918f7cdb9dc182f0422da9379;p=dbsrgits%2FSQL-Translator.git diff --git a/Makefile.PL b/Makefile.PL index 77c378a..cb51026 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,31 +1,7 @@ -package SQL::Translator; +# $Id$ use strict; -use ExtUtils::MakeMaker; - -WriteMakefile( - 'NAME' => __PACKAGE__, - 'VERSION' => 0.01, - 'EXE_FILES' => [ - 'bin/auto-dia.pl', - 'bin/sql_translator.pl', - ], - 'PREREQ_PM' => { - 'Class::Base' => 0, - 'File::Basename' => 0, - 'File::Spec' => 0, - 'GD' => 0, - 'GraphViz' => 0, - 'IO::Dir' => 0, - 'Parse::RecDescent' => 0, # Is a particular version needed? - 'Pod::Usage' => 0, - 'Spreadsheet::ParseExcel' => 0, - 'Text::ParseWords' => 0, - 'XML::Dumper' => 0, - }, - clean => { - FILES => '$(DISTNAME)-$(VERSION).tar.gz', - }, -); - +use Module::Build::Compat; +Module::Build::Compat->run_build_pl(args => \@ARGV); +Module::Build::Compat->write_makefile();