Perl-Toolchain-Gang / cpan-api-buildpl

Documentation of the API for using Build.PL
11 stars 3 forks source link

--create_packlist #8

Open Leont opened 10 years ago

Leont commented 10 years ago

Module::Build and Module::Build::Tiny has a create_packlist option that defaults to true. This allows vendors to skip on the packlist, which a lot of packagers prefer to do.

Should we support that in the spec? Should we have something more high level? Do we even know what we need here?

karenetheridge commented 10 years ago

This allows vendors to skip on the packlist

What does that mean? They skip creating the .packlist file?

(My next question is: is it documented what this is to contain and why it exists? because I'm not entirely sure.)

Leont commented 10 years ago

What does that mean? They skip creating the .packlist file?

Yes. Debian even patches their MakeMaker not to write it for INSTALLDIRS=vendors|perl.

(My next question is: is it documented what this is to contain and why it exists? because I'm not entirely sure.)

Barely. There are ExtUtils::Installed and ExtUtils::Packlist, but they are only API's. The file format is not documented , this might be a feature.