Skip Menu |

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 2282
Status: resolved
Worked: 5 min
Priority: 0/
Queue: Module-Build

People
Owner: Nobody in particular
Requestors: dom [...] semantico.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.09
Fixed in: 0.17



Subject: Compatibility with ExtUtils::MakeMaker
I would like the documentation for Module::Build to contain something like this, as I've seen two people tripped up by it now... "If you wish to provide a Makefile.PL for backwards compatibility with ExtUtils::MakeMaker, please ensure that the call to WriteMakefile contains the line C<< PL_FILES => {} >>, so that ExtUtils::MakeMaker ignores your Build.PL script." Thanks, -Dom
Thanks. I've added the following text to the docs: -------------------------------------------- =head1 MIGRATION Note that if you want to provide both a F<Makefile.PL> and a F<Build.PL> for your distribution, you probably want to add the following to C<WriteMakefile> in your F<Makefile.PL> so that MakeMaker doesn't try to run your F<Build.PL> as a normal F<.PL> file: PL_FILES => {}, --------------------------------------------