Re: MANIFEST.SKIP deleted on distclean?

"Curtis Jewell" <[email protected]> Fri, 16 Apr 2010 08:53:56 -0600
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <[email protected]>
> And if people really need a skeleton MANIFEST.SKIP, we can add "Build
> manifest_skip" to generate a default one (that then persists)
> 
> -- David

Easy enough. Practically a one-liner.

sub ACTION_manifest_skip {

    if (not -e 'MANIFEST.SKIP') {
        # I'm assuming we're already in the right directory.
        open $skipfile, '>', 'MANIFEST.SKIP';
        print {$skipfile} "#!include_default\n"; # See
        http://search.cpan.org/~rkobes/ExtUtils-Manifest-1.58/lib/ExtUtils/Manifest.pm#MANIFEST.SKIP
        close $skipfile;
    }
}

--
Curtis Jewell
[email protected]           http://csjewell.dreamwidth.org/
[email protected]   http://csjewell.comyr.org/perl/

"Your random numbers are not that random" -- perl-5.10.1.tar.gz/util.c

Strawberry Perl for Windows betas: http://strawberryperl.com/beta/