1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'String::Escape',
AUTHOR => q{Matthew Simon Cavalletto <simonm@cavalletto.org>},
VERSION_FROM => 'Escape.pm',
ABSTRACT_FROM => 'Escape.pm',
( $ExtUtils::MakeMaker::VERSION >= 6.3002
? ('LICENSE'=> 'perl')
: ()
),
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'String-Escape-*' },
);
sub MY::postamble { <<'<<' }
everything: FORCE
make again; make reltest; make disttest
again: FORCE
make makefile; make cleanmanifest
makefile: FORCE
make clean; perl Makefile.PL; make pm_to_blib
cleanmanifest: FORCE
rm MANIFEST; touch MANIFEST; make manifest
reltest: FORCE
RELEASE_TESTING=1 make test
%.t: pm_to_blib FORCE
perl -Iblib/lib -w $@
cover: FORCE
cover -delete; cover -test; open cover_db/coverage.html
<<
1;
|