[fenix-plugins] 46/60: Use debhelper override rules.

Peter Pentchev roam at ringlet.net
Mon Dec 21 14:16:09 UTC 2015


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

roam-guest pushed a commit to branch master
in repository fenix-plugins.

commit 5128a66b2e0be61057ff78d397aecc47be8fece4
Author: Peter Pentchev <roam at ringlet.net>
Date:   Fri Feb 26 23:44:19 2010 +0000

    Use debhelper override rules.
---
 debian/changelog |  3 ++-
 debian/control   |  2 +-
 debian/rules     | 26 +++++---------------------
 3 files changed, 8 insertions(+), 23 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d0738f..49928dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
 fenix-plugins (0.0.20070803-4) UNRELEASED; urgency=low
 
-  TODO: debhelper: overrides, then 8
+  TODO: debhelper: 8
   TODO: dpkg-buildflags
 
   [ Miriam Ruiz ]
@@ -29,6 +29,7 @@ fenix-plugins (0.0.20070803-4) UNRELEASED; urgency=low
   * Bump the debhelper compatibility level to 7:
     - shorten the rules file using the dh(1) helper
     - use "dh --with autotools_dev" to handle config.guess and config.sub
+    - use debhelper override rules
 
  -- Peter Pentchev <roam at ringlet.net>  Thu, 25 Nov 2010 16:09:06 +0200
 
diff --git a/debian/control b/debian/control
index d549a0b..0d73f03 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
 Priority: extra
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Barry deFreese <bdefreese at debian.org>
-Build-Depends: debhelper (>= 7.0.8), autotools-dev (>= 20100122.1~),
+Build-Depends: debhelper (>= 7.0.50~), autotools-dev (>= 20100122.1~),
  autoconf, automake1.10 | automake1.9,
  zlib1g-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-net1.2-dev, libsdl-mixer1.2-dev,
  libsmpeg-dev, libfreetype6-dev, fenix, fenix-dev, libtool
diff --git a/debian/rules b/debian/rules
index 7e031f6..977c3ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,9 +17,7 @@ PLUGINS = \
 	plugins/mpeg.so plugins/exec.so \
 	plugins/tcpsock.so plugins/fsock.so
 
-build: build-stamp
-build-stamp:
-	dh build --before auto_build --with autotools_dev
+override_dh_auto_build:
 	for i in */ ; do \
 		if [ -e "$$i/configure.ac" ]; then \
 			cp -f /usr/share/libtool/config/ltmain.sh "$$i/ltmain.sh" ; \
@@ -29,25 +27,11 @@ build-stamp:
 		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" \
 		CONFFLAGS="--host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)" \
 		$(PLUGINS)
-	dh build --remaining
-	touch $@
 
-clean:
-	dh $@ --before auto_clean
+override_dh_auto_clean:
 	dh_auto_clean -- fullclean
-	dh $@ --remaining --with autotools_dev
 
-install: build
-	dh $@
+override_dh_makeshlibs:
 
-# Build architecture-independent files here.
-binary-indep: build install
-	dh $@
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh $@ --before makeshlibs
-	dh $@ --after makeshlibs
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@ --with autotools_dev

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/fenix-plugins.git



More information about the Pkg-games-commits mailing list