From 0307b9563ef3f37253273a88d75d819ec514d2cb Mon Sep 17 00:00:00 2001 From: Roland Dreier Date: Wed, 6 Jul 2011 01:23:36 -0700 Subject: [PATCH] Change Debian build system from cdbs to debhelper 7 Signed-off-by: Roland Dreier --- debian/changelog | 3 ++- debian/compat | 2 +- debian/{control.in => control} | 2 +- debian/rules | 10 ++++++---- 4 files changed, 10 insertions(+), 7 deletions(-) rename debian/{control.in => control} (95%) 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 Wed, 06 Jul 2011 01:17:18 -0700 + -- Roland Dreier 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 similarity index 95% rename from debian/control.in rename to debian/control index 55018b3..56277f3 100644 --- a/debian/control.in +++ b/debian/control @@ -2,7 +2,7 @@ Source: libmlx4 Priority: extra Maintainer: Roland Dreier 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: -- 2.46.0