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

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).

Replies are listed 'Best First'.
Re^3: ExtUtils::MakeMaker : how to ignore files and not add them
by stevieb (Canon) on Mar 17, 2020 at 14:23 UTC

    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

Re^3: ExtUtils::MakeMaker : how to ignore files and not add them
by hippo (Archbishop) on Mar 17, 2020 at 14:18 UTC

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