about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules10
3 files changed, 12 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index d7110551..acfde4a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ network-manager (0.9.8.8-6) UNRELEASED; urgency=medium
     standalone logind we don't receive the Resume signal after a suspend
     request and NetworkManager remains in sleep mode where the devices are
     unmanaged. (Closes: #742933)
+  * Use dh-autoreconf to update the build system. Override dh_autoreconf since
+    we need to run gtkdocize.
 
  -- Laurent Bigonville <bigon@debian.org>  Fri, 04 Apr 2014 01:42:47 +0200
 
diff --git a/debian/control b/debian/control
index cdcc7a00..11fef84c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.
 Uploaders: Michael Biebl <biebl@debian.org>, Sjoerd Simons <sjoerd@debian.org>
 Build-Depends: debhelper (>= 9),
                dh-systemd (>= 1.14),
-               autotools-dev,
+               dh-autoreconf,
                pkg-config,
                intltool,
                libdbus-glib-1-dev (>= 0.94),
diff --git a/debian/rules b/debian/rules
index 66297efc..4540c587 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,15 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
-	dh $@ --with gir,systemd,autotools_dev
+	dh $@ --with gir,systemd,autoreconf
+
+autoreconf:
+	gtkdocize --copy
+	autopoint --force
+	AUTOPOINT='intltoolize --automake --copy' autoreconf --verbose --force --install
+
+override_dh_autoreconf:
+	dh_autoreconf debian/rules -- autoreconf
 
 override_dh_auto_configure:
 	dh_auto_configure -- \