syphilis has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

When I generate META.yml and META.json by running 'make dist', the 'no_index' entry in those two files specifies the 't' and 'inc' directories (by default, AFAICT).
However, I would like it to also specify a third directory named 'modules'.
How do I get 'make dist' to do that ?

Cheers,
Rob

Replies are listed 'Best First'.
Re: Tweak no_index entry in META files
by Corion (Patriarch) on May 04, 2014 at 13:31 UTC

    Weirdly enough, this is not documented in ExtUtils::MakeMaker, but conveniently enough, EUMM uses the feature in its Makefile.PL:

    META_MERGE => { no_index => { package => [ 'DynaLoader', 'in' ], # "in" is a PAUSE +misparse. directory => [ 'bundled', 'my' ], }, ... }
      Thanks Corion.
      I did search the EU::MM docs for 'index' - but gave up when no hits were found.

      Cheers,
      Rob