Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: ExtUtils::MakeMaker : how to ignore files and not add them

by hippo (Bishop)
on Mar 17, 2020 at 13:49 UTC ( [id://11114383]=note: print w/replies, xml ) Need Help??


in reply to ExtUtils::MakeMaker : how to ignore files and not add them

I have tried adding these file extensions and directories in a ignore.txt file

They need to go in the MANIFEST.SKIP file instead.

Replies are listed 'Best First'.
Re^2: ExtUtils::MakeMaker : how to ignore files and not add them
by bliako (Monsignor) on Mar 17, 2020 at 13:56 UTC

    Thanks for the pointer. It must contain regex right? but this .*.lock in a separate line does not have any effect.

    EDIT: no it DOES WORK, sorry (and in fact should be .*\.lock).

      What version of ExtUtils::MakeMaker do you have? The line works for me:

      $ touch .lock $ touch AB.lock $ perl -MExtUtils::MakeMaker -E 'say $ExtUtils::MakeMaker::VERSION' 7.24 $ perl Makefile.PL && make manifest "/home/steveb/perl5/perlbrew/perls/perl-5.26.1/bin/perl" "-MExtUtils:: +Manifest=mkmanifest" -e mkmanifest Added to MANIFEST: .lock Added to MANIFEST: AB.lock # Add entry to MANIFEST.SKIP $ tail -3 MANIFEST.SKIP .base$ main$ .*.lock $ make manifest "/home/steveb/perl5/perlbrew/perls/perl-5.26.1/bin/perl" "-MExtUtils:: +Manifest=mkmanifest" -e mkmanifest Removed from MANIFEST: .lock Removed from MANIFEST: AB.lock

        I must have done something wrong, it does work

      Yes, each line in MANIFEST.SKIP should be a regex. Full docs are here.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114383]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2024-04-19 13:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found