tags 330025 +patch thanks Hi Easy patch included for consideration. Cheers Luk -- Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
diff -Nru lintian-1.23.28/checks/rules lintian-1.23.28.new/checks/rules
--- lintian-1.23.28/checks/rules 2007-03-10 07:55:47.000000000 +0100
+++ lintian-1.23.28.new/checks/rules 2007-04-10 08:38:38.000000000 +0200
@@ -57,6 +57,10 @@
while (<RULES>) {
$includes = 1 if /^ *[s-]?include\s+/;
+ if (m/^\s*DH_COMPAT(?:\s|:)/) {
+ tag "declares-deprecated-DH_COMPAT");
+ }
+
# We're looking only for the required targets. Ignore everything else.
next unless /^([^:]+):/;
my @targets = split (' ', $1);
diff -Nru lintian-1.23.28/checks/rules.desc lintian-1.23.28.new/checks/rules.desc
--- lintian-1.23.28/checks/rules.desc 2007-03-10 07:55:47.000000000 +0100
+++ lintian-1.23.28.new/checks/rules.desc 2007-04-10 08:40:49.000000000 +0200
@@ -33,3 +33,10 @@
of the required targets. All of build, binary, binary-arch,
binary-indep, and clean must be provided, even if they don't do anything
for this package.
+
+Tag: declares-deprecated-DH_COMPAT
+Type: warning
+Info: As of debhelper version 4, the DH_COMPAT environment variable is
+ deprecated, so any command in debian/rules that sets it should be deleted.
+ .
+ Please refer to the debhelper(7) manual page for more information.
Attachment:
signature.asc
Description: OpenPGP digital signature