X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=1801c70077e5f791c3c20a720d3c59291ea0fa16;hb=5c6c1007e5bdb11e4d8a9ff25cc4e563f9f378b4;hp=ebf53b2a5f1db7a85d364826d37b31fa38f99e3f;hpb=f9820db46d0f218a474cecf50aea06daf8a4a266;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git diff --git a/Makefile.PL b/Makefile.PL index ebf53b2..1801c70 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -21,6 +21,7 @@ my %PREREQ_PM = ( 'File::Spec' => 0, 'IPC::Cmd' => 0, 'Parse::CPAN::Meta' => 0, + 'Scalar::Util' => 0, 'base' => 0, ); @@ -53,10 +54,19 @@ WriteMakefile( MIN_PERL_VERSION => 5.006, META_MERGE => \%META, dist => { - PREOP => "pod2text $file > \$(DISTVNAME)/README", + PREOP => "pod2text -u $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, clean => { FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt" }, ); + +package MY; + +sub postamble { + <