Jerry D. Hedden [Wed, 1 Aug 2007 12:28:49 +0000 (08:28 -0400)]
- Split README handling into a separate case.
- Extend the MANIFEST pattern to include .SKIP.
Based on the following:
Subject: [PATCH] Don't install MANIFEST.SKIP files
From: "Jerry D. Hedden" <jdhedden@cpan.org>
Message-Id: <
1ff86f510708010928o48ea74d6je46148b0a409bffa@mail.gmail.com>
p4raw-id: //depot/perl@31672
# ignore READMEs, MANIFESTs, INSTALL docs, META.ymls and change logs.
# Changes.e2x and README.e2x are needed by enc2xs.
- return if $name =~ m{^(?:README(?:\.\w+)?|MANIFEST|META\.yml|INSTALL)$} && $name ne 'README.e2x';
+ return if $name =~ m{^(?:README(?:\.\w+)?)$} && $name ne 'README.e2x';
+ return if $name =~ m{^(?:MANIFEST(?:\.SKIP)?|META\.yml|INSTALL)$};
return if $name =~ m{^(?:TODO|BUGS|CREDITS)$}i;
return if $name =~ m{^change(?:s|log)(?:\.libnet)?$}i;