Merge pull request #7 from contyk/master
Filter out all META.* and *.ini files from %doc
This commit is contained in:
4
cpanspec
4
cpanspec
@@ -783,14 +783,14 @@ for my $file (@args) {
|
|||||||
|
|
||||||
my @doc=sort { $a cmp $b } grep {
|
my @doc=sort { $a cmp $b } grep {
|
||||||
!/\//
|
!/\//
|
||||||
and !/\.(pl|xs|h|c|pm|in|pod|cfg|inl)$/i
|
and !/\.(pl|xs|h|c|pm|ini?|pod|cfg|inl)$/i
|
||||||
and !/^\./
|
and !/^\./
|
||||||
and $_ ne $path
|
and $_ ne $path
|
||||||
and $_ ne "MANIFEST"
|
and $_ ne "MANIFEST"
|
||||||
and $_ ne "MANIFEST.SKIP"
|
and $_ ne "MANIFEST.SKIP"
|
||||||
and $_ ne "INSTALL"
|
and $_ ne "INSTALL"
|
||||||
and $_ ne "SIGNATURE"
|
and $_ ne "SIGNATURE"
|
||||||
and $_ ne "META.yml"
|
and !/^META\..+$/i
|
||||||
and $_ ne "NINJA"
|
and $_ ne "NINJA"
|
||||||
and $_ ne "configure"
|
and $_ ne "configure"
|
||||||
and $_ ne "config.guess"
|
and $_ ne "config.guess"
|
||||||
|
|||||||
Reference in New Issue
Block a user