[Pkg-nagios-changes] [icinga] 33/36: Use dh-autoreconf for retooling.

Bas Couwenberg sebastic at debian.org
Sun Dec 18 16:10:37 UTC 2016


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

sebastic pushed a commit to branch modern-packaging
in repository icinga.

commit 853a7061fd1a3835f6d8c4f10ceeb136e7692f30
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 18 16:39:45 2016 +0100

    Use dh-autoreconf for retooling.
---
 debian/changelog | 1 +
 debian/control   | 4 ++--
 debian/rules     | 4 +++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4ef1d99..09d07fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ icinga (1.13.3-4) UNRELEASED; urgency=medium
     (closes: #799421)
   * Drop unused substitution variables.
   * Don't hardcode invoke-rc.d path in icinga-cgi.postinst.
+  * Use dh-autoreconf for retooling.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 03 Dec 2016 23:27:06 +0100
 
diff --git a/debian/control b/debian/control
index 545c6d6..85c8682 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@ Uploaders: Alexander Wirt <formorer at debian.org>,
            Markus Frosch <lazyfrosch at debian.org>
 Section: net
 Priority: optional
-Build-Depends: autotools-dev,
-               debhelper (>= 9),
+Build-Depends: debhelper (>= 9),
+               dh-autoreconf,
                libdbi-dev | libdbi0-dev,
                libgd-dev | libgd2-noxpm-dev | libgd2-xpm-dev,
                libhtml-lint-perl,
diff --git a/debian/rules b/debian/rules
index e39f165..fa15412 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,8 @@
 # Enable hardening build flags
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+export AUTOHEADER=true
+
 b := $(shell pwd)/debian
 
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -48,7 +50,7 @@ CONFIGURE_OPTS	= --prefix=/usr \
 				--with-mainurl=/cgi-bin/icinga/tac.cgi
 
 %:
-	dh $@
+	dh $@ --with autoreconf
 
 fix-configs: fix-configs-stamp
 fix-configs-stamp:

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



More information about the Pkg-nagios-changes mailing list