[PATCH 5/5] UBUNTU: lintian -- move our debhelper compat level to debian/compat

Andy Whitcroft apw at canonical.com
Wed Mar 3 16:29:03 UTC 2010


You are meant to use debian/compat to record your debhelper
compatibility level:

  W: linux source: debian-rules-sets-DH_COMPAT line 18

Signed-off-by: Andy Whitcroft <apw at canonical.com>
---
 debian/compat |    1 +
 debian/rules  |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)
 create mode 100644 debian/compat

diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/rules b/debian/rules
index a80b2f0..d3ac28f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,8 +14,6 @@ DEBIAN=$(shell awk -F= '($$1 == "DEBIAN") { print $$2 }' <debian/debian.env)
 unexport CFLAGS
 unexport LDFLAGS
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=5
 export LC_ALL=C
 export SHELL=/bin/bash -e
 
-- 
1.7.0





More information about the kernel-team mailing list