bliako has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I am using this very simple Makefile.PL (ExtUtils::MakeMaker):
use ExtUtils::MakeMaker; WriteMakefile( NAME => 'A::B', VERSION_FROM => 'lib/A/B.pm' );
The problem is that it adds a lot of files in the MANIFEST which are either transient (e.g. .lock files - my editor creates a lock file during editing so I end up with A.pm.lock when editing A.pm) or plain rubbish (e.g. *.log or data/). And if these files are later deleted, I need to remake the Makefile.
I have tried adding these file extensions and directories in a ignore.txt file but I still get the same behaviour. I could not see anything relevant in the documentation but I guess is something simple. Does anyone know?
thanks, bliako
ps. EDIT stupidly I omitted the relevant version information: ExtUtils/MakeMaker.pm 7.44 and perl v.5.28.2 in linux fedora 30 with latest updates
EDIT2: see Re: Making ExtUtils::MakeMaker ignore .swp files for a solution
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ExtUtils::MakeMaker : how to ignore files and not add them
by hippo (Archbishop) on Mar 17, 2020 at 13:49 UTC | |
by bliako (Abbot) on Mar 17, 2020 at 13:56 UTC | |
by stevieb (Canon) on Mar 17, 2020 at 14:23 UTC | |
by bliako (Abbot) on Mar 17, 2020 at 14:35 UTC | |
by hippo (Archbishop) on Mar 17, 2020 at 14:18 UTC | |
|
Re: ExtUtils::MakeMaker : how to ignore files and not add them
by bliako (Abbot) on Mar 20, 2020 at 10:26 UTC | |
by hippo (Archbishop) on Mar 20, 2020 at 10:49 UTC | |
|
Re: ExtUtils::MakeMaker : how to ignore files and not add them
by bliako (Abbot) on Apr 14, 2020 at 10:49 UTC |