r11627 - packages/trunk/snowballz/debian

Peter Pentchev roam-guest at alioth.debian.org
Fri Jan 7 10:03:08 UTC 2011


Author: roam-guest
Date: 2011-01-07 10:02:51 +0000 (Fri, 07 Jan 2011)
New Revision: 11627

Modified:
   packages/trunk/snowballz/debian/changelog
   packages/trunk/snowballz/debian/control
   packages/trunk/snowballz/debian/rules
Log:
Minimize the rules file using debhelper override rules.


Modified: packages/trunk/snowballz/debian/changelog
===================================================================
--- packages/trunk/snowballz/debian/changelog	2011-01-07 09:57:47 UTC (rev 11626)
+++ packages/trunk/snowballz/debian/changelog	2011-01-07 10:02:51 UTC (rev 11627)
@@ -19,8 +19,8 @@
   * Add the res_config_check patch to check if the display resolution is
     actually within range; thanks to SevenMachines for the report and patch.
     Closes: #585118
-  * Bump the debhelper compatibility level to 7 and shorten the rules file
-    using the dh(1) utility.
+  * Bump the debhelper compatibility level to 7 and minimize the rules file
+    using debhelper override rules.
 
  -- Peter Pentchev <roam at ringlet.net>  Fri, 07 Jan 2011 10:11:22 +0200
 

Modified: packages/trunk/snowballz/debian/control
===================================================================
--- packages/trunk/snowballz/debian/control	2011-01-07 09:57:47 UTC (rev 11626)
+++ packages/trunk/snowballz/debian/control	2011-01-07 10:02:51 UTC (rev 11627)
@@ -4,7 +4,7 @@
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Barry deFreese <bddebian at comcast.net>,
 	Peter Pentchev <roam at ringlet.net>
-Build-Depends: debhelper (>= 7)
+Build-Depends: debhelper (>= 7.0.50~)
 Standards-Version: 3.9.1
 Homepage: http://sourceforge.net/projects/snowballz/
 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/snowballz/

Modified: packages/trunk/snowballz/debian/rules
===================================================================
--- packages/trunk/snowballz/debian/rules	2011-01-07 09:57:47 UTC (rev 11626)
+++ packages/trunk/snowballz/debian/rules	2011-01-07 10:02:51 UTC (rev 11627)
@@ -11,33 +11,19 @@
 	CFLAGS += -O2
 endif
 
-build: build-stamp
-build-stamp:
-	dh build --before auto_build
-	dh build --after auto_build
-	touch $@
+override_dh_auto_build:
 
-clean:
-	dh $@ --before auto_clean
+override_dh_auto_clean:
 	rm -f `find . -name "*.pyc"`
-	dh $@ --after auto_clean
 
-install: build
-	dh $@ --before auto_install
-	dh $@ --after auto_install --before dh_install
+override_dh_auto_install:
+
+override_dh_install:
 	chmod +x debian/game.sh
 	dh_install
 	rm -f `find debian/snowballz -name TSCu_Comic.ttf`
 	chmod -x `find debian/snowballz -name "*.py"`
 	chmod +x debian/snowballz/usr/share/games/snowballz/snowballz.py
-	dh $@ --remaining
 
-# Build architecture-independent files here.
-binary-indep: build install
+%:
 	dh $@
-
-# Build architecture-dependent files here.
-binary-arch:
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure




More information about the Pkg-games-commits mailing list