dump tsv file for TokyoCabinet import
[MARC-Fast] / Makefile.PL
index e5b691a..a82bb28 100644 (file)
@@ -3,12 +3,32 @@ use ExtUtils::MakeMaker;
 # the contents of the Makefile that is written.
 WriteMakefile(
     NAME         => 'MARC::Fast',
-    VERSION_FROM => 'Fast.pm', # finds $VERSION
+    VERSION_FROM => 'lib/MARC/Fast.pm', # finds $VERSION
     AUTHOR       => 'Dobrica Pavlinusic (dpavlin@rot13.org)',
     ABSTRACT     => '',
     PREREQ_PM    => {
        'Test::Simple' => 0.44,
-       'Test::Exception' => 0,
+       'Data::Dump' => 0,
        'Carp' => 0,
     },
 );
+
+sub MY::postamble {
+       return <<'MAKE_MORE';
+
+changelog:
+       svk update && svk log -v > Changes
+
+cpan:
+       make clean
+       rm -f MARC-Fast-*.tar.gz
+       perl Makefile.PL
+       make changelog
+       make dist
+       make disttest
+       @echo
+       @echo -n "Upload" MARC-Fast-*.tar.gz "to CPAN? [y/N]:"
+       @read upload && test "$$upload" == "y" && cpan-upload -verbose MARC-Fast-*.tar.gz
+
+MAKE_MORE
+}