Commit fdd154da authored by Chris Lamb's avatar Chris Lamb

Do not emit package-does-not-install-examples for example directories under…

Do not emit package-does-not-install-examples for example directories under "vendor" or "third_party".
parent 0f95ea7a
Pipeline #19571 passed with stage
in 0 seconds
......@@ -625,7 +625,9 @@ sub find_cruft {
}
}
tag 'package-does-not-install-examples', $entry
if $basename eq 'examples' and not $ships_examples;
if $basename eq 'examples'
and $dirname !~ m{(?:^|/)(?:vendor|third_party)/}
and not $ships_examples;
}
push(@worklist, $entry->children);
......
......@@ -2,6 +2,10 @@ lintian (2.5.105) UNRELEASED; urgency=medium
XXX: generate tag summary
* checks/cruft.pm:
+ [CL] Do not emit package-does-not-install-examples for example
directories under "vendor" or "third_party".
-- Chris Lamb <lamby@debian.org> Fri, 21 Sep 2018 10:16:22 +0100
lintian (2.5.104) unstable; urgency=medium
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment