5 use ExtUtils::MakeMaker;
7 my $dist = 'Sub-Op-LexicalSub';
9 (my $name = $dist) =~ s{-}{::}g;
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
17 my $up = File::Spec->updir;
18 $top = File::Spec->rel2abs(File::Spec->catdir($up, $up));
21 use ExtUtils::Depends;
27 my $ed = ExtUtils::Depends->new($name => 'Sub::Op');
29 $ed->get_makefile_vars;
32 $ed_vars{clean}->{FILES} .= ' ' . join ' ',
33 "$dist-*", qw{*.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt};
37 AUTHOR => 'Vincent Pit <perl@profvince.com>',
39 VERSION_FROM => $file,
41 MIN_PERL_VERSION => 5.010,