r11695 - packages/trunk/freealut/debian

Peter Pentchev roam-guest at alioth.debian.org
Sun Jan 23 20:00:26 UTC 2011


Author: roam-guest
Date: 2011-01-23 20:00:24 +0000 (Sun, 23 Jan 2011)
New Revision: 11695

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


Modified: packages/trunk/freealut/debian/changelog
===================================================================
--- packages/trunk/freealut/debian/changelog	2011-01-23 19:56:29 UTC (rev 11694)
+++ packages/trunk/freealut/debian/changelog	2011-01-23 20:00:24 UTC (rev 11695)
@@ -8,8 +8,8 @@
     - add misc:Depends to the binary packages
     - no need to depend on a x.x.x-1 revision
   * Add DEP 3 headers to all the patches.
-  * Bump the debhelper compatibility version to 7 and shorten the rules
-    file using the dh(1) utility.
+  * Bump the debhelper compatibility version to 7 and minimize the rules
+    file using override rules.
   * Remove some cruft from the rules file.
   * Use dpkg-buildflags from dpkg-dev 1.15.7 to obtain the default CFLAGS,
     CPPFLAGS and LDFLAGS.

Modified: packages/trunk/freealut/debian/control
===================================================================
--- packages/trunk/freealut/debian/control	2011-01-23 19:56:29 UTC (rev 11694)
+++ packages/trunk/freealut/debian/control	2011-01-23 20:00:24 UTC (rev 11695)
@@ -3,7 +3,7 @@
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Reinhard Tartler <siretart at tauware.de>, Sam Hocevar <sho at debian.org>,
 	Peter Pentchev <roam at ringlet.net>
-Build-Depends: debhelper (>= 7), libopenal-dev (>= 1:0.0.8), dpkg-dev (>= 1.15.7~)
+Build-Depends: debhelper (>= 7.0.50~), libopenal-dev (>= 1:0.0.8), dpkg-dev (>= 1.15.7~)
 Standards-Version: 3.9.1
 Section: libs
 Homepage: http://openal.org/

Modified: packages/trunk/freealut/debian/rules
===================================================================
--- packages/trunk/freealut/debian/rules	2011-01-23 19:56:29 UTC (rev 11694)
+++ packages/trunk/freealut/debian/rules	2011-01-23 20:00:24 UTC (rev 11695)
@@ -9,28 +9,11 @@
 
 export CFLAGS CPPFLAGS LDFLAGS
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch build-stamp
-
-clean:
-	dh $@
-
-install: build
-	dh $@ --before installdocs
+override_dh_installdocs:
 	dh_installdocs -A AUTHORS NEWS README
-	dh $@ --remaining
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh $@ --before makeshlibs
+override_dh_makeshlibs:
 	dh_makeshlibs -V 'libalut0 (>= 1.1.0-1)'
-	dh $@ --remaining
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+%:
+	dh $@




More information about the Pkg-games-commits mailing list