BEGIN {
eval { require Config };
die 'OS unsupported' if $@;
- Config->import(qw/%Config/);
+ Config->import(qw<%Config>);
eval { require File::Spec };
die 'OS unsupported' if $@;
}
);
WriteMakefile(
- NAME => $name,
- AUTHOR => 'Vincent Pit <perl@profvince.com>',
- LICENSE => 'perl',
- VERSION_FROM => $file,
- ABSTRACT_FROM => $file,
- OPTIMIZE => '-g',
- C => \@C,
- PREREQ_PM => \%PREREQ_PM,
- MIN_PERL_VERSION => 5.006,
- META_MERGE => \%META,
- dist => {
- PREOP => "pod2text $file > \$(DISTVNAME)/README",
- COMPRESS => 'gzip -9f', SUFFIX => 'gz',
- },
- clean => {
- FILES => "$dist-* Makefile.bak *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
- },
+ NAME => $name,
+ AUTHOR => 'Vincent Pit <perl@profvince.com>',
+ LICENSE => 'perl',
+ VERSION_FROM => $file,
+ ABSTRACT_FROM => $file,
+ OPTIMIZE => '-g',
+ C => \@C,
+ PREREQ_PM => \%PREREQ_PM,
+ MIN_PERL_VERSION => 5.006,
+ META_MERGE => \%META,
+ dist => {
+ PREOP => "pod2text -u $file > \$(DISTVNAME)/README",
+ COMPRESS => 'gzip -9f', SUFFIX => 'gz',
+ },
+ clean => {
+ FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
+ },
);