Subject: | Makefile.PL Issues |
There are two issues with Module::Release's Makefile.PL
1. 'PM' is Incorrect
--------------------
Currently
'PM' => { 'lib/Release.pm' => '$(INST_LIBDIR)/Release.pm', },
And needs to change to
'PM' => { 'lib/Release.pm' => '$(INST_LIBDIR)/Module/Release.pm', },
This doesn't affect the actual install of the module, but its does
effect the manpage thats created.
jbisbee@bizb:~/Module-Release-1.20$ perl Makefile.PL PREFIX=~/tmp
jbisbee@bizb:~/.cpan/build/Module-Release-1.20-AJgzB4$ make install
Installing /Users/jbisbee/tmp/lib/perl5/site_perl/Module/Release.pm
Installing /Users/jbisbee/tmp/share/man/man1/release.1
-> Installing /Users/jbisbee/tmp/share/man/man3/Release.3pm
Installing /Users/jbisbee/tmp/bin/release
It should be Module::Relase.3pm not not just Release.3pm. man
Module::Release fails with the current Makefile.PL
2. Module::CPANTS::Analyze needs to be added to PREREQ_PM
cpants_lint.pl is now called during a 'release' so it makes sense that
Module::CPANTS::Analyze should be required.
'PREREQ_PM' => {
'ConfigReader::Simple' => 0,
'Net::FTP' => 0,
'HTTP::Message' => 0,
'IO::Null' => 0,
'Crypt::SSLeay' => 0,
'File::Temp' => 0,
-> 'Module::CPANTS::Anaylze' => 0,
},
Great idea to include CPANTS btw :)
--
Jeff Bisbee / jbisbee@cpan.org