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

apo-guest pushed a commit to branch master
in repository tecnoballz.

commit c0076fefb56804558e78c5817063f2b096646629
Author: Peter Pentchev <[email protected]>
Date:   Thu Feb 17 10:03:22 2011 +0000

    Minimize the rules file by using 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 d12b966..48a5acf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,10 +5,9 @@ tecnoballz (0.92-4) UNRELEASED; urgency=low
   * Convert to the 3.0 (quilt) source format.
   * Add misc:Depends to the binary packages.
   * Bump the debhelper compatibility level to 7:
-    - let dh_clean remove the *-stamp files
     - dh_installchangelogs picks up the CHANGES file now
     - break the clean-up list and the manpages list into debian/* files
-    - shorten the rules file by using the dh(1) helper
+    - minimize the rules file by using debhelper override rules
   * Add the 031_honor_cxxflags patch.
 
  -- Peter Pentchev <[email protected]>  Thu, 17 Feb 2011 10:35:58 +0200
diff --git a/debian/control b/debian/control
index 9066ef1..3377324 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: games
 Priority: optional
 Maintainer: Debian Games Team <[email protected]>
 Uploaders: Barry deFreese <[email protected]>
-Build-Depends: debhelper (>= 7), autoconf, automake, libsdl-mixer1.2-dev, 
+Build-Depends: debhelper (>= 7.0.50~), autoconf, automake, 
libsdl-mixer1.2-dev, 
                libmikmod2-dev, libxext-dev, libvorbis-dev, 
                libogg-dev, libsmpeg-dev, libxxf86dga-dev, 
                libxxf86vm-dev, autotools-dev,
diff --git a/debian/rules b/debian/rules
index e1a7f1f..57c7417 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,33 +15,19 @@ CXXFLAGS = -g -Wall
 
 export CXXFLAGS
 
-build: build-stamp
-build-stamp:
-       dh build --before auto_configure
+override_dh_auto_configure:
        autoreconf -fvi
        dh_auto_configure -- --datadir=/usr/share/games
-       dh build --remaining
-       touch build-stamp
 
-clean: 
-       dh $@ --before dh_clean
+override_dh_clean:
        find ./ -name Makefile.in -delete
-       dh $@ --remaining
+       dh_clean
 
-install: build
-       dh $@ --until auto_install
+override_dh_auto_install:
+       dh_auto_install
        # The data package
        mv $(CURDIR)/debian/tmp/var/games/tecnoballz/tecnoballz.hi \
                $(CURDIR)/debian/tmp/var/games/tecnoballz/tecnoballz.hi.clean
-       dh $@ --remaining
 
-# Build architecture-independent files here.
-binary-indep: build install
+%:
        dh $@
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh $@
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to