[iml] 01/04: Start migrating to dh.

Tobias Hansen thansen at alioth.debian.org
Sun Sep 1 20:50:36 UTC 2013


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

thansen pushed a commit to branch master
in repository iml.

commit 107ec7efa15a2821907d6242f24b7421e7cd1071
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Sun Sep 1 22:14:12 2013 +0200

    Start migrating to dh.
---
 debian/compat        |    2 +-
 debian/control       |    2 +-
 debian/rules         |   21 +++++++++++----------
 debian/source/format |    1 +
 4 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 10be5b1..3ede73a 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: math
 Priority: optional
 Maintainer: Tim Abbott <tabbott at mit.edu>
 Homepage: http://www.cs.uwaterloo.ca/~z4chen/iml.html
-Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5), libtool, automake1.10, autoconf, quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), libgmp-dev, libgsl0-dev, libatlas-base-dev
+Build-Depends: debhelper (>= 9), dh-autoreconf, libgmp-dev, libgsl0-dev, libatlas-base-dev
 Standards-Version: 3.8.0
 
 Package: libiml0
diff --git a/debian/rules b/debian/rules
index 6288b8b..ee8134f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,14 @@
 #!/usr/bin/make -f
 
-DEB_AUTO_UPDATE_AUTOCONF = 2.50
-DEB_AUTO_UPDATE_AUTOMAKE = 1.10
-DEB_AUTO_UPDATE_ACLOCAL = 1.10
-DEB_AUTO_UPDATE_LIBTOOL = pre
-DEB_ACLOCAL_ARGS = -Iconfig
-DEB_AUTOMAKE_ARGS = --add-missing
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-DEB_CONFIGURE_EXTRA_FLAGS = --enable-shared --with-gmp-include --with-gmp-lib --with-atlas-include --with-atlas-lib
+%:
+	dh $@ --with autoreconf --parallel
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--enable-shared \
+		--with-gmp-include=/usr/include/$(DEB_HOST_MULTIARCH) \
+		--with-gmp-lib=/usr/lib/$(DEB_HOST_MULTIARCH) \
+		--with-atlas-include \
+		--with-atlas-lib
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)

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



More information about the debian-science-commits mailing list