aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2011-07-06 01:23:36 -0700
committerRoland Dreier <roland@purestorage.com>2011-07-06 01:23:36 -0700
commit0307b9563ef3f37253273a88d75d819ec514d2cb (patch)
tree67324637c105aedcd1ba2efc3445211677d9c890
parent338248115922fded58723073a516dea39d119cdb (diff)
downloadlibmlx4-0307b9563ef3f37253273a88d75d819ec514d2cb.tar.gz
Change Debian build system from cdbs to debhelper 7
Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--debian/changelog3
-rw-r--r--debian/compat2
-rw-r--r--debian/control (renamed from debian/control.in)2
-rwxr-xr-xdebian/rules10
4 files changed, 10 insertions, 7 deletions
diff --git a/debian/changelog b/debian/changelog
index ae364f3..b13c0fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,8 +3,9 @@ libmlx4 (1.0.1-2) UNRELEASED; urgency=low
* Update maintainer and set DM-Upload-Allowed to yes. (Closes: #632108)
* Switch to dpkg-source 3.0 (quilt) format.
* Don't ship .la files. (Closes: #621664)
+ * Change build system from cdbs to debhelper 7.
- -- Roland Dreier <roland@localhost> Wed, 06 Jul 2011 01:17:18 -0700
+ -- Roland Dreier <roland@digitalvampire.org> Wed, 06 Jul 2011 01:20:43 -0700
libmlx4 (1.0.1-1) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..7f8f011 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+7
diff --git a/debian/control.in b/debian/control
index 55018b3..56277f3 100644
--- a/debian/control.in
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libmlx4
Priority: extra
Maintainer: Roland Dreier <roland@digitalvampire.org>
DM-Upload-Allowed: yes
-Build-Depends: @cdbs@, libibverbs-dev (>= 1.0)
+Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.13.19), libibverbs-dev (>= 1.0)
Standards-Version: 3.8.2
Section: libs
Homepage: http://www.openfabrics.org/
diff --git a/debian/rules b/debian/rules
index 3e70bc3..b0252a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,10 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-DEB_AUTO_UPDATE_LIBTOOL := post
+%:
+ dh $@
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+override_dh_strip:
+ dh_strip --dbg-package=libmlx4-1-dbg
+
+override_dh_makeshlibs: