5 dh_lintian - install lintian override files into package build directories
10 use Debian::Debhelper::Dh_Lib;
14 B<dh_lintian> [S<I<debhelper options>>]
18 dh_lintian is a debhelper program that is responsible for installing
19 override files used by lintian into package build directories.
21 If a file named debian/package.lintian-overrides exists, then it is
22 installed into usr/share/lintian/overrides/package in the package
23 build directory. This file is used to suppress erroneous lintian
26 Note that a file named debian/source.lintian-overrides will not be
27 installed, but will be scanned by lintian to provide overrides for the
34 foreach my $package (@{$dh{DOPACKAGES}}) {
35 next if is_udeb($package);
37 my $tmp=tmpdir($package);
38 my $or_dir = "$tmp/usr/share/lintian/overrides";
39 my $overrides=pkgfile($package,"lintian-overrides");
41 if ($overrides ne '') {
43 doit("install","-d","$or_dir");
45 doit("install","-p","-m644",$overrides,"$or_dir/$package");
53 This program is a part of debhelper.
59 Steve Robbins <smr@debian.org>