r11626 - packages/trunk/snowballz/debian
Peter Pentchev
roam-guest at alioth.debian.org
Fri Jan 7 09:57:49 UTC 2011
Author: roam-guest
Date: 2011-01-07 09:57:47 +0000 (Fri, 07 Jan 2011)
New Revision: 11626
Modified:
packages/trunk/snowballz/debian/changelog
packages/trunk/snowballz/debian/rules
Log:
Shorten the rules file using debhelper's dh(1) utility.
Modified: packages/trunk/snowballz/debian/changelog
===================================================================
--- packages/trunk/snowballz/debian/changelog 2011-01-07 09:36:26 UTC (rev 11625)
+++ packages/trunk/snowballz/debian/changelog 2011-01-07 09:57:47 UTC (rev 11626)
@@ -19,7 +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 use dh_prep.
+ * Bump the debhelper compatibility level to 7 and shorten the rules file
+ using the dh(1) utility.
-- Peter Pentchev <roam at ringlet.net> Fri, 07 Jan 2011 10:11:22 +0200
Modified: packages/trunk/snowballz/debian/rules
===================================================================
--- packages/trunk/snowballz/debian/rules 2011-01-07 09:36:26 UTC (rev 11625)
+++ packages/trunk/snowballz/debian/rules 2011-01-07 09:57:47 UTC (rev 11626)
@@ -11,53 +11,31 @@
CFLAGS += -O2
endif
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch $@
-
build: build-stamp
-build-stamp: configure-stamp
- dh_testdir
+build-stamp:
+ dh build --before auto_build
+ dh build --after auto_build
touch $@
clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
+ dh $@ --before auto_clean
rm -f `find . -name "*.pyc"`
- dh_clean
+ dh $@ --after auto_clean
install: build
- dh_testdir
- dh_testroot
- dh_prep
+ dh $@ --before auto_install
+ dh $@ --after auto_install --before dh_install
chmod +x debian/game.sh
- dh_installdirs
-
-# Build architecture-independent files here.
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
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_installmenu
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh $@ --remaining
+# Build architecture-independent files here.
+binary-indep: build install
+ dh $@
+
# Build architecture-dependent files here.
binary-arch:
More information about the Pkg-games-commits
mailing list