]> Dogcows Code - chaz/p5-File-KDBX-XS/blobdiff - Makefile.PL
set a version in repo Makefile.PL
[chaz/p5-File-KDBX-XS] / Makefile.PL
index 05b01e69c339d3c8183d394c7ea58f378047b780..406476e1cd3166b47d6271f116e003f6093f26b4 100644 (file)
@@ -14,7 +14,7 @@ use ExtUtils::MakeMaker;
 my (@EUMM_INC_LIB, $myarflags, $mycflags);
 
 # use bundled libtomcrypt
-my @myobjs = map { /^(.*)\.c$/ ? "$1.$Config{obj_ext}" : () } qw(
+my @myobjs = map { /^(.*)\.c$/ ? "$1$Config{obj_ext}" : () } qw(
     libtomcrypt/src/ciphers/aes/aes.c
     libtomcrypt/src/misc/compare_testvector.c
     libtomcrypt/src/misc/crypt/crypt_argchk.c
@@ -56,6 +56,7 @@ $mycflags = "$mycflags -Wall -Werror -Wextra" if $ENV{AUTHOR_MODE};
                                                                 : '-DLTM_DESC -Ilibtomcrypt/src/headers',
     MYEXTLIB    => "libtomcrypt/libonlyaes$Config{lib_ext}",
     clean       => { FILES => join(' ', @myobjs, "libtomcrypt/libonlyaes$Config{lib_ext}") },
+    realclean   => { FILES => join(' ', qw{cover_db *.gcda *.gcno *.gcov})},
 );
 
 #FIX: https://github.com/DCIT/perl-CryptX/pull/79
@@ -68,6 +69,7 @@ if ($^O !~ /^(MSWin32|darwin|solaris)$/ && ($Config{ld} =~ /gcc|g\+\+/ || $Confi
 
 my %eumm_args = (
   'NAME' => 'File::KDBX::XS',##{  # List NAME explicitly here so it works even without dzil. ##}
+  'VERSION' => '999.999',
 ##{ $plugin->get_default(qw{ABSTRACT AUTHOR DISTNAME LICENSE MIN_PERL_VERSION VERSION test}) ##}
 ##{ $plugin->get_prereqs(1) ##}
     @EUMM_INC_LIB,
@@ -93,7 +95,7 @@ sub MY::postamble {
 };
 
     $extra_targets = qq{
-\$(MYEXTLIB): libtomcrypt/Makefile
+\$(MYEXTLIB): libtomcrypt/Makefile.nmake
 \tcd libtomcrypt && \$(MAKE) -f Makefile.nmake CFLAGS="$mycflags"
 } if $^O eq 'MSWin32' && $Config{make} =~ /nmake/ && $Config{cc} =~ /cl/;
 
This page took 0.0216 seconds and 4 git commands to generate.