Re: [Module::Build] Re: something broken between Module::Build, CPAN.pm, and ExtUtils::MakeMaker in
Status: Beta
Brought to you by:
kwilliams
|
From: David G. <da...@hy...> - 2006-02-14 20:11:11
|
Tyler MacDonald wrote: > Ken Williams <ke...@ma...> wrote: >> If we did that, we'd screw over people who are already maintaining >> their Makefile.PL separately by hand. > > OK... but if they are doing that, the Makefile.PL will be in their > *build* directory already... as far as I understand, our Makefile.PL only > needs to be generated in the *dist* directory. > > The current behaviour is to not create a Makefile.PL during > "./Build", only create it when "distdir" is run. However, the "distdir" > action creates "Makefile.PL" in the current directory and then copies it > over. It's not so simple a change. The Makefile.PL gets generated by "distmeta", which "distdir" depends on. "distmeta" also generates README and META.yml. I tend to run distmeta before checking in a release, so I have exactly the Makefile.PL, README, and META.yml that get packaged up and uploaded to CPAN. I don't think anything that could clobber files should be switched on by default. That's just asking for trouble. Regards, David Golden |