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
|
use ExtUtils::MakeMaker;
###----------------------------------------------------------------###
# Copyright 2003 - Paul Seamons #
# Distributed under the GNU General Public License without warranty #
###----------------------------------------------------------------###
WriteMakefile(
NAME => "Data::URIEncode",
AUTHOR => "Paul Seamons",
ABSTRACT_FROM => "lib/Data/URIEncode.pm",
VERSION_FROM => "lib/Data/URIEncode.pm",
INSTALLDIRS => 'site',
dist => {
DIST_DEFAULT => 'all tardist',
COMPRESS => 'gzip -vf',
SUFFIX => '.gz',
},
clean => {
FILES => '*~',
},
realclean => {
FILES => '*~',
},
);
package MY;
sub postamble {
return qq^
pm_to_blib: README
README: \$(VERSION_FROM)
pod2text \$(VERSION_FROM) > README
^;
}
1;
|