]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - Makefile.PL
Kill Debian_CPANTS.txt suffixes as well
[perl/modules/indirect.git] / Makefile.PL
index 39749fc51d3f26e1bd43b7ca331d5245bcd8e328..f75ab5e6d28af2e044a5a8ec48d5a0b8a5f9f12b 100644 (file)
@@ -1,4 +1,4 @@
-use 5.008;
+use 5.008001;
 
 use strict;
 use warnings;
@@ -7,12 +7,12 @@ use ExtUtils::MakeMaker;
 my @DEFINES;
 
 # Threads, Windows and 5.8.x don't seem to be best friends
-if ($^O eq 'MSWin32' && $^V lt v5.9.0) {
+if ($^O eq 'MSWin32' and "$]" < 5.009) {
  push @DEFINES, '-DI_MULTIPLICITY=0';
 }
 
 # Fork emulation got "fixed" in 5.10.1
-if ($^O eq 'MSWin32' && $^V lt v5.10.1) {
+if ($^O eq 'MSWin32' and "$]" < 5.010_001) {
  push @DEFINES, '-DI_FORKSAFE=0';
 }
 
@@ -26,6 +26,7 @@ my $dist = 'indirect';
 $file = "lib/$file.pm";
 
 my %PREREQ_PM = (
+ 'Carp'     => 0,
  'XSLoader' => 0,
 );
 
@@ -56,13 +57,13 @@ WriteMakefile(
  PL_FILES         => {},
  @DEFINES,
  PREREQ_PM        => \%PREREQ_PM,
- MIN_PERL_VERSION => 5.008,
+ MIN_PERL_VERSION => 5.008001,
  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"
+  FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*"
  },
 );