aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <roland@purestorage.com>2011-07-05 14:18:45 -0700
committerRoland Dreier <roland@purestorage.com>2011-07-05 14:20:59 -0700
commitcb64be054872ccd95d34a5565cd3552e6d8c0718 (patch)
treefe94f0978f9721982d6e57648ea15b91d176e5f8
parent5ba012226ff3ad5ada3b784f0c242a8ab3d2000f (diff)
downloadlibmthca-cb64be054872ccd95d34a5565cd3552e6d8c0718.tar.gz
Change Debian build system from cdbs to debhelper 7
Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--debian/compat2
-rw-r--r--debian/control (renamed from debian/control.in)2
-rwxr-xr-xdebian/rules10
3 files changed, 8 insertions, 6 deletions
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 0ed9fe9..45af2bc 100644
--- a/debian/control.in
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libmthca
Priority: extra
Maintainer: Roland Dreier <roland@digitalvampire.org>
DM-Upload-Allowed: yes
-Build-Depends: @cdbs@, dpkg-dev (>= 1.13.19), libibverbs-dev (>= 1.1)
+Build-Depends: debhelper (>= 7.0.50~), dpkg-dev (>= 1.13.19), libibverbs-dev (>= 1.1)
Standards-Version: 3.8.2
Section: libs
Homepage: http://www.openfabrics.org/
diff --git a/debian/rules b/debian/rules
index 3e70bc3..9029238 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=libmthca1-dbg
+
+override_dh_makeshlibs: