Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Tweak no_index entry in META files

by syphilis (Archbishop)
on May 04, 2014 at 13:24 UTC ( [id://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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-16 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found