r11767 - packages/trunk/tecnoballz/debian
Peter Pentchev
roam-guest at alioth.debian.org
Thu Feb 17 10:03:27 UTC 2011
Author: roam-guest
Date: 2011-02-17 10:03:22 +0000 (Thu, 17 Feb 2011)
New Revision: 11767
Modified:
packages/trunk/tecnoballz/debian/changelog
packages/trunk/tecnoballz/debian/control
packages/trunk/tecnoballz/debian/rules
Log:
Minimize the rules file by using debhelper override rules.
Modified: packages/trunk/tecnoballz/debian/changelog
===================================================================
--- packages/trunk/tecnoballz/debian/changelog 2011-02-17 09:56:34 UTC (rev 11766)
+++ packages/trunk/tecnoballz/debian/changelog 2011-02-17 10:03:22 UTC (rev 11767)
@@ -5,10 +5,9 @@
* 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 <roam at ringlet.net> Thu, 17 Feb 2011 10:35:58 +0200
Modified: packages/trunk/tecnoballz/debian/control
===================================================================
--- packages/trunk/tecnoballz/debian/control 2011-02-17 09:56:34 UTC (rev 11766)
+++ packages/trunk/tecnoballz/debian/control 2011-02-17 10:03:22 UTC (rev 11767)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
Uploaders: Barry deFreese <bdefreese at debian.org>
-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,
Modified: packages/trunk/tecnoballz/debian/rules
===================================================================
--- packages/trunk/tecnoballz/debian/rules 2011-02-17 09:56:34 UTC (rev 11766)
+++ packages/trunk/tecnoballz/debian/rules 2011-02-17 10:03:22 UTC (rev 11767)
@@ -15,33 +15,19 @@
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
More information about the Pkg-games-commits
mailing list