X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;h=cc065737e3ed13114c1c1f4741885fd344cce721;hb=32384f24279ef75bc0b95279c093cf90d8c47195;hp=248c76f9d94fd3cca50e3c0acd1fb9dbed59a3b2;hpb=dcefaa0f0b52b7ec82ad4fd5547d320a419ca1a9;p=perl%2Fmodules%2FSub-Op.git diff --git a/Makefile.PL b/Makefile.PL index 248c76f..cc06573 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -14,7 +14,8 @@ $file = "lib/$file.pm"; my %PREREQ_PM = ( 'B::Hooks::EndOfScope' => 0, 'DynaLoader' => 0, - 'Variable::Magic' => '0.39', + 'Scalar::Util' => 0, + 'Variable::Magic' => '0.40', ); my %META = ( @@ -23,6 +24,7 @@ my %META = ( 'ExtUtils::MakeMaker' => 0, }, build_requires => { + 'B::Deparse' => 0, 'Cwd' => 0, 'ExtUtils::Depends' => 0, 'ExtUtils::MakeMaker' => 0, @@ -69,7 +71,13 @@ WriteMakefile( PREOP => "pod2text $file > \$(DISTVNAME)/README", COMPRESS => 'gzip -9f', SUFFIX => 'gz' }, - FUNCLIST => [ qw/sub_op_register boot_Sub__Op/ ], + FUNCLIST => [ qw[ + boot_Sub__Op + sub_op_init + sub_op_register + sub_op_dup + sub_op_free + ] ], %ed_vars, ); @@ -79,6 +87,7 @@ WriteMakefile( open my $fh, '>', $args_dat or die "open(>$args_dat): $!"; for (@ARGV) { my $arg = $_; + $arg =~ s{\s*(['"])\s*(.*)\s*\1\s*$}{$2}s; $arg =~ s{([^=/.a-zA-Z0-9-])}{sprintf "[%d]", ord $1}ge; print $fh "$arg\n"; } @@ -88,11 +97,11 @@ sub MY::postamble { <<' POSTAMBLE'; configure_test.pl: args.dat -t/Sub-Op-Test/Makefile: configure_test.pl +t/Sub-Op-LexicalSub/Makefile: configure_test.pl $(FULLPERLRUN) configure_test.pl -all clean:: t/Sub-Op-Test/Makefile - cd t/Sub-Op-Test && $(MAKE) $@ +all clean:: t/Sub-Op-LexicalSub/Makefile + cd t/Sub-Op-LexicalSub && $(MAKE) $@ clean:: $(RM_RF) args.dat