[glpk] 04/10: d/rules: migrate to dh.

Sébastien Villemot sebastien at debian.org
Fri Feb 19 19:28:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository glpk.

commit e4631862f401b2913b9982a9927de7fd03ac5b34
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Fri Feb 19 20:08:35 2016 +0100

    d/rules: migrate to dh.
---
 debian/control |  2 +-
 debian/rules   | 27 +++++++++++++--------------
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/debian/control b/debian/control
index 64a4807..0d57171 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Falk Hueffner <falk at debian.org>,
            Sébastien Villemot <sebastien at debian.org>
-Build-Depends: debhelper (>= 9), cdbs (>= 0.4.93~), libgmp-dev, libltdl-dev,
+Build-Depends: debhelper (>= 9), libgmp-dev, libltdl-dev,
  zlib1g-dev, libiodbc2-dev, libmysqlclient-dev, dh-autoreconf, dh-exec,
  libsuitesparse-dev
 Standards-Version: 3.9.6
diff --git a/debian/rules b/debian/rules
index 1ba5b83..e9f9eeb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,14 @@
 #!/usr/bin/make -f
-# -*- makefile -*-
-# debian/rules for the glpk package
-# GNU copyright (C) 2007, 2008  Rafael Laboissiere
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
-include /usr/share/cdbs/1/class/autotools.mk
-
-DEB_CONFIGURE_EXTRA_FLAGS =	\
-	--enable-dl --enable-odbc --enable-mysql --with-gmp \
-	--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
-DEB_MAKE_CHECK_TARGET = check
-DEB_DH_MAKESHLIBS_ARGS_libglpk36 = -V
-DEB_COMPRESS_EXCLUDE_ALL = .sql .pdf
+
+%:
+	dh $@ --with autoreconf
+
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-dl --enable-odbc --enable-mysql --with-gmp
+
+override_dh_makeshlibs:
+	dh_makeshlibs -V
+
+override_dh_compress:
+	dh_compress -X.pdf
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/glpk.git



More information about the debian-science-commits mailing list