aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2009-09-02 12:11:06 -0700
committerRoland Dreier <rolandd@cisco.com>2009-09-02 12:11:06 -0700
commit91f2b41e2e1d31339e6507fe846fbd9bb30c619b (patch)
treeab0f886a70f2c6af20fa3858d50d67e9ea0ed55d
parent7f8e9efa784347b691d8b446422cce25ada1a882 (diff)
downloadlibibverbs-91f2b41e2e1d31339e6507fe846fbd9bb30c619b.tar.gz
Change Debian build system from cdbs to debhelper 7
With debhelper 7 we can get just as simple a rules file without all of the cdbs magic. Signed-off-by: Roland Dreier <rolandd@cisco.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/rules9
4 files changed, 8 insertions, 8 deletions
diff --git a/debian/changelog b/debian/changelog
index bd240e0..5c6eb6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ libibverbs (1.1.2-2) unstable; urgency=low
* Move -dbg package to section debug.
* Update to Standards-Version: 3.8.2.
+ * Change build system from cdbs to debhelper 7.
- -- Roland Dreier <rolandd@cisco.com> Thu, 25 Jun 2009 10:26:26 -0700
+ -- Roland Dreier <rolandd@cisco.com> Wed, 02 Sep 2009 12:09:23 -0700
libibverbs (1.1.2-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 f5d514b..03696b8 100644
--- a/debian/control.in
+++ b/debian/control
@@ -1,7 +1,7 @@
Source: libibverbs
Priority: extra
Maintainer: Roland Dreier <rolandd@cisco.com>
-Build-Depends: @cdbs@, dpkg-dev (>= 1.13.19)
+Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.13.19)
Standards-Version: 3.8.2
Section: libs
Homepage: http://www.openfabrics.org/
diff --git a/debian/rules b/debian/rules
index 5b40388..5e894d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,8 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-DEB_DH_INSTALL_SOURCEDIR := debian/tmp
-DEB_AUTO_UPDATE_LIBTOOL := post
-DEB_DH_MAKESHLIBS_ARGS_ALL := -V 'libibverbs1 (>= 1.1.2)'
+%:
+ dh $@
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+override_dh_makeshlibs:
+ dh_makeshlibs -V 'libibverbs1 (>= 1.1.2)'