X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=4455299022efa2f792c347361cd1de9e9829069e;hb=090d438c23ee65af0cc3489f655d8e5f4ba69b1a;hp=0ce062aef9d57a915136c8fb4319f6dc350aa47a;hpb=b5f8a3c82299a44af5033f4d7c8af72dc0680171;p=dbsrgits%2FSQL-Translator.git diff --git a/Makefile.PL b/Makefile.PL index 0ce062a..4455299 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -5,11 +5,14 @@ use ExtUtils::MakeMaker; WriteMakefile( 'NAME' => __PACKAGE__, - 'VERSION' => 0.01, + 'SIGN' => 1, + 'VERSION_FROM' => 'lib/SQL/Translator.pm', 'EXE_FILES' => [ - 'bin/auto-dia.pl', - 'bin/auto-graph.pl', - 'bin/sql_translator.pl', + 'bin/sqlt-diagram', + 'bin/sqlt-diff', + 'bin/sqlt-dumper', + 'bin/sqlt-graph', + 'bin/sqlt', ], 'PREREQ_PM' => { 'Class::Base' => 0, @@ -18,15 +21,35 @@ WriteMakefile( 'GD' => 0, 'GraphViz' => 0, 'IO::Dir' => 0, + 'IO::File' => 0, + 'IO::Scalar' => 0, 'Parse::RecDescent' => 1.94, 'Pod::Usage' => 0, 'Spreadsheet::ParseExcel' => 0, + 'Template' => 2.10, + 'Test::More' => 0, + 'Test::Exception' => 0, + 'Test::Differences' => 0, 'Text::ParseWords' => 0, - 'XML::Dumper' => 0, + 'Text::RecordParser' => 0.02, + 'XML::Writer' => 0, + 'XML::XPath' => 1.13, + 'YAML' => 0, }, - clean => { - FILES => '$(DISTNAME)-$(VERSION).tar.gz', + 'clean' => { + FILES => '$(DISTVNAME).tar$(SUFFIX)', }, ); +package MY; +use File::Basename qw(basename); +sub libscan { + my ($self, $file) = @_; + my $bfile = basename($file); + + return if $bfile =~ /^\.(?:cvs)?ignore$/; + return if $bfile =~ /\.swp$/; + + return $self->SUPER::libscan($file); +}