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

login
register
mail settings
Submitter Andy Whitcroft
Date March 3, 2010, 4:29 p.m.
Message ID <1267633743-11047-6-git-send-email-apw@canonical.com>
Download mbox | patch
Permalink /patch/46825/
State Accepted
Delegated to: Andy Whitcroft
Headers show

Comments

Andy Whitcroft - March 3, 2010, 4:29 p.m.
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@canonical.com>
---
 debian/compat |    1 +
 debian/rules  |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)
 create mode 100644 debian/compat

Patch

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