r11858 - packages/trunk/alex4/debian
Peter Pentchev
roam-guest at alioth.debian.org
Wed Mar 9 20:03:33 UTC 2011
Author: roam-guest
Date: 2011-03-09 20:03:26 +0000 (Wed, 09 Mar 2011)
New Revision: 11858
Modified:
packages/trunk/alex4/debian/changelog
packages/trunk/alex4/debian/control
packages/trunk/alex4/debian/rules
Log:
Minimize the rules file using debhelper override targets.
Modified: packages/trunk/alex4/debian/changelog
===================================================================
--- packages/trunk/alex4/debian/changelog 2011-03-09 20:03:14 UTC (rev 11857)
+++ packages/trunk/alex4/debian/changelog 2011-03-09 20:03:26 UTC (rev 11858)
@@ -13,8 +13,8 @@
* Convert to the 3.0 (quilt) source format.
* Add misc:Depends to the alex4-data package just in case.
* Expand the alex4-data package's long description.
- * Bump the debhelper compatibility level to 7 and shorten the rules file
- using the dh(1) tool.
+ * Bump the debhelper compatibility level to 7 and minimize the rules file
+ using debhelper override targets.
-- Peter Pentchev <roam at ringlet.net> Wed, 09 Mar 2011 14:14:04 +0200
Modified: packages/trunk/alex4/debian/control
===================================================================
--- packages/trunk/alex4/debian/control 2011-03-09 20:03:14 UTC (rev 11857)
+++ packages/trunk/alex4/debian/control 2011-03-09 20:03:26 UTC (rev 11858)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Peter De Wachter <pdewacht at gmail.com>
-Build-Depends: debhelper (>= 7), liballegro4.2-dev (>= 2:4.2.2-2), libdumb1-dev, libaldmb1-dev
+Build-Depends: debhelper (>= 7.0.50~), liballegro4.2-dev (>= 2:4.2.2-2), libdumb1-dev, libaldmb1-dev
Standards-Version: 3.8.1
Homepage: http://allegator.sourceforge.net/
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/alex4/
Modified: packages/trunk/alex4/debian/rules
===================================================================
--- packages/trunk/alex4/debian/rules 2011-03-09 20:03:14 UTC (rev 11857)
+++ packages/trunk/alex4/debian/rules 2011-03-09 20:03:26 UTC (rev 11858)
@@ -5,30 +5,12 @@
CFLAGS = -Wall -g $(if $(findstring noopt,$(DEB_BUILD_OPTIONS)), -O0, -O2)
-build: build-stamp
-build-stamp:
- dh build --before auto_build
+override_dh_auto_build:
dh_auto_build -D src -- CFLAGS="$(CFLAGS)" \
DATADIR=/usr/share/games/alex4
- dh build --remaining
- touch $@
-clean:
- dh clean --before auto_clean
+override_dh_auto_clean:
dh_auto_clean -D src
- dh clean --remaining
-install: install-stamp
-install-stamp: build
- dh install
- touch install-stamp
-
-binary: binary-arch binary-indep
-
-binary-arch: install
+%:
dh $@
-
-binary-indep: install
- dh $@
-
-.PHONY: build clean binary install
More information about the Pkg-games-commits
mailing list