r9395 - packages/trunk/cookietool/debian
Peter Pentchev
roam-guest at alioth.debian.org
Sat Apr 4 13:25:46 UTC 2009
Author: roam-guest
Date: 2009-04-04 13:25:46 +0000 (Sat, 04 Apr 2009)
New Revision: 9395
Modified:
packages/trunk/cookietool/debian/changelog
packages/trunk/cookietool/debian/rules
Log:
Minimize the rules file using debhelper override targets.
This is intentionally done as a separate commit to ease lenny backporting.
Modified: packages/trunk/cookietool/debian/changelog
===================================================================
--- packages/trunk/cookietool/debian/changelog 2009-04-04 13:20:09 UTC (rev 9394)
+++ packages/trunk/cookietool/debian/changelog 2009-04-04 13:25:46 UTC (rev 9395)
@@ -15,7 +15,7 @@
* Add misc:Depends to the binary package.
* Bump the debhelper compatibility level to 7:
- use dh_prep instead of dh_clean -k
- - shorten the rules file using the dh(1) helper
+ - minimize the rules file using override targets
* Bump Standards-Version to 3.8.1:
- allow the compiler program and flags to be overridden so that
the "noopt" build option may be honored
Modified: packages/trunk/cookietool/debian/rules
===================================================================
--- packages/trunk/cookietool/debian/rules 2009-04-04 13:20:09 UTC (rev 9394)
+++ packages/trunk/cookietool/debian/rules 2009-04-04 13:25:46 UTC (rev 9395)
@@ -12,24 +12,11 @@
endif
export CFLAGS
-build: build-stamp
-build-stamp: ${QUILT_STAMPFN}
- dh build
+override_dh_auto_configure: ${QUILT_STAMPFN}
-clean:
- dh $@
+override_dh_auto_clean:
+ $(MAKE) clean
$(MAKE) -f debian/rules unpatch
-install: build
+%:
dh $@
-
-# 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 $@
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
More information about the Pkg-games-commits
mailing list