[Pkg-sdl-commits] [sdl-image1.2] 02/06: Switch to debhelper compat level v10 - dh flags --parallel are not needed - autoreconf is invoked by default

Manuel A. Fernandez Montecelo mafm at moszumanska.debian.org
Thu Aug 3 15:01:28 UTC 2017


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

mafm pushed a commit to branch master
in repository sdl-image1.2.

commit 1f609b1430881b0fc369e721e147cb77da9446f7
Author: Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>
Date:   Thu Aug 3 16:33:26 2017 +0200

    Switch to debhelper compat level v10
    - dh flags --parallel are not needed
    - autoreconf is invoked by default
---
 debian/changelog | 3 +++
 debian/compat    | 2 +-
 debian/control   | 3 +--
 debian/rules     | 9 +++++----
 4 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index da54121..7dc459b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 sdl-image1.2 (1.2.12-6) UNRELEASED; urgency=medium
 
   * Bump Policy Standards-Version to 4.0.0 (no changes needed)
+  * Switch to debhelper compat level v10
+    - dh flags --parallel are not needed
+    - autoreconf is invoked by default
 
  -- Manuel A. Fernandez Montecelo <mafm at debian.org>  Sat, 08 Mar 2014 19:55:01 +0000
 
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index 873887b..5be9055 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers at lists.alioth.de
 Uploaders: Felix Geyer <fgeyer at debian.org>, Manuel A. Fernandez Montecelo <mafm at debian.org>
 Section: libs
 Priority: optional
-Build-Depends: debhelper (>= 9~),
-               dh-autoreconf,
+Build-Depends: debhelper (>= 10~),
                libsdl1.2-dev (>= 1.2.14~),
                libjpeg-dev,
                libpng-dev,
diff --git a/debian/rules b/debian/rules
index 49bed94..944f6ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,10 @@ export DEB_CFLAGS_MAINT_APPEND  = -pipe -Wall
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 
+# export variables for autoreconf
+export AUTOMAKE := automake --foreign
+
+
 # features -- disable building as plugins, otherwise dh_shlibs
 confflags =  --disable-jpg-shared
 confflags += --disable-tif-shared
@@ -13,10 +17,7 @@ confflags += --disable-png-shared
 confflags += --disable-webp-shared
 
 %:
-	dh $@ --with autoreconf --parallel
-
-override_dh_autoreconf:
-	AUTOMAKE="automake --foreign" dh_autoreconf --as-needed
+	dh $@
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sdl/packages/sdl-image1.2.git



More information about the pkg-sdl-commits mailing list