Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Tweak no_index entry in META files

by syphilis (Canon)
on May 04, 2014 at 13:24 UTC ( #1084945=perlquestion: print w/ replies, xml ) Need Help??
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

Comment on Tweak no_index entry in META files
Re: Tweak no_index entry in META files
by Corion (Pope) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1084945]
Approved by marto
Front-paged by kcott
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2015-07-06 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls