r9394 - packages/trunk/cookietool/debian

Peter Pentchev roam-guest at alioth.debian.org
Sat Apr 4 13:20:10 UTC 2009


Author: roam-guest
Date: 2009-04-04 13:20:09 +0000 (Sat, 04 Apr 2009)
New Revision: 9394

Added:
   packages/trunk/cookietool/debian/cookietool.manpages
Modified:
   packages/trunk/cookietool/debian/changelog
   packages/trunk/cookietool/debian/rules
Log:
Shorten the rules file using the dh(1) helper.


Modified: packages/trunk/cookietool/debian/changelog
===================================================================
--- packages/trunk/cookietool/debian/changelog	2009-04-04 13:13:50 UTC (rev 9393)
+++ packages/trunk/cookietool/debian/changelog	2009-04-04 13:20:09 UTC (rev 9394)
@@ -15,6 +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
   * 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

Added: packages/trunk/cookietool/debian/cookietool.manpages
===================================================================
--- packages/trunk/cookietool/debian/cookietool.manpages	                        (rev 0)
+++ packages/trunk/cookietool/debian/cookietool.manpages	2009-04-04 13:20:09 UTC (rev 9394)
@@ -0,0 +1,3 @@
+doc/cdbsplit.6
+doc/cookietool.6
+doc/cdbdiff.6

Modified: packages/trunk/cookietool/debian/rules
===================================================================
--- packages/trunk/cookietool/debian/rules	2009-04-04 13:13:50 UTC (rev 9393)
+++ packages/trunk/cookietool/debian/rules	2009-04-04 13:20:09 UTC (rev 9394)
@@ -3,9 +3,6 @@
 
 include /usr/share/quilt/quilt.make
 
-PACKAGE=	cookietool
-D=		$(CURDIR)/debian/$(PACKAGE)
-
 CFLAGS+=	-Wall -W -ansi -pedantic -Wbad-function-cast \
 		-Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
 		-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
@@ -17,29 +14,14 @@
 
 build: build-stamp
 build-stamp:	${QUILT_STAMPFN}
-	dh_testdir
-	$(MAKE)
-	touch build-stamp
+	dh build
 
 clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	$(MAKE) clean
-	dh_clean
+	dh $@
 	$(MAKE) -f debian/rules unpatch
 
 install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-	$(MAKE) install DESTDIR=$D
-	dh_installdocs
-	dh_installchangelogs 
-	dh_installman doc/cdbsplit.6 doc/cookietool.6 doc/cdbdiff.6
-	dh_compress
-	dh_fixperms
+	dh $@
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -47,14 +29,7 @@
 
 # Build architecture-dependent files here.
 binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_strip
-	dh_shlibdeps
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+	dh $@
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install




More information about the Pkg-games-commits mailing list