[Pkg-voip-commits] [sipsak] 12/19: Use dh-autoreconf commands to update all autotools files

Victor Seva vseva at moszumanska.debian.org
Wed Aug 31 09:07:48 UTC 2016


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

vseva pushed a commit to branch master
in repository sipsak.

commit b378176b4a26291d6b64ca1b6930415667de709d
Author: Guillem Jover <gjover at sipwise.com>
Date:   Mon Jul 4 13:08:14 2016 +0200

    Use dh-autoreconf commands to update all autotools files
    
    Closes: #727968
---
 debian/changelog |  1 +
 debian/control   |  1 +
 debian/rules     | 11 +++++------
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1752c16..1669695 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ sipsak (0.9.6-3) UNRELEASED; urgency=medium
   * Enable all hardening flags.
   * Fix cross-building by passing the correct --host and/or --build
     combination to configure.
+  * Use dh-autoreconf commands to update all autotools files. Closes: #727968
 
  -- Guillem Jover <gjover at sipwise.com>  Mon, 04 Jul 2016 12:19:42 +0200
 
diff --git a/debian/control b/debian/control
index 2187126..410edbc 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Build-Depends:
  debhelper (>= 9),
+ dh-autoreconf,
  libgnutls-openssl-dev,
  libruli4-dev,
  pkg-config,
diff --git a/debian/rules b/debian/rules
index 78e99f5..54ca7f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,10 @@ else
 	confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
 endif
 
+configure: configure.ac
+	dh_testdir
+	dh_autoreconf
+
 config.status: configure
 	dh_testdir
 
@@ -42,13 +46,8 @@ clean:
 	dh_testroot
 
 	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
 
+	dh_autoreconf_clean
 	dh_clean
 
 .PHONY: build-indep build-arch build clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/sipsak.git



More information about the Pkg-voip-commits mailing list