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.
25 =item debian/I<package>.lintian-overrides
27 Installed into usr/share/lintian/overrides/I<package> in the package
28 build directory. This file is used to suppress erroneous lintian
31 =item debian/source.lintian-overrides
33 These files are not installed, but will be scanned by lintian to provide
34 overrides for the source package.
42 foreach my $package (@{$dh{DOPACKAGES}}) {
43 next if is_udeb($package);
45 my $tmp=tmpdir($package);
46 my $or_dir = "$tmp/usr/share/lintian/overrides";
47 my $overrides=pkgfile($package,"lintian-overrides");
49 if ($overrides ne '') {
51 doit("install","-d","$or_dir");
53 doit("install","-p","-m644",$overrides,"$or_dir/$package");
61 This program is a part of debhelper.
67 Steve Robbins <smr@debian.org>