/usr/local/CPAN/Lingua-EN-Gender/Makefile.PL
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Lingua::EN::Gender',
'VERSION_FROM' => 'lib/Lingua/EN/Gender.pm', # finds $VERSION
'dist' => {
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
},
);
sub MY::postamble {
package MY;
'
WEBDIR = /home/gossamer/websrc/docs/code
WEB_FILELIST = $(WEBDIR)/file-list
webdist: dist
@$(MKPATH) $(WEBDIR)/$(DISTNAME)/
cp $(DISTVNAME).tar.$(SUFFIX) $(WEBDIR)/$(DISTNAME)/
cp README $(WEBDIR)/$(DISTNAME)/$(DISTVNAME).README
'
}