[SCM] team based FPS game - packaging branch, debian, updated. debian/1.1.0-4.1-33-g855d6ce

Simon McVittie smcv at debian.org
Sat Jul 17 14:11:15 UTC 2010


The following commit has been merged in the debian branch:
commit 0e243283c01e83c8a11b0e86addfbbe912db3205
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Jul 17 12:46:48 2010 +0100

    Use Debhelper to make binary packages

diff --git a/debian/rules b/debian/rules
index 7934b86..35f551c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,7 +17,7 @@ endif
 
 BUILD_DIR=build/release-linux-$(Q3ARCH)
 
-build clean: %:
+build clean binary-indep binary-arch binary install install-indep install-arch: %:
 	dh $@
 
 override_dh_auto_build:
@@ -26,34 +26,7 @@ override_dh_auto_build:
 	cp build/release-linux-$(Q3ARCH)/tremded.$(Q3ARCH) build/release-linux-$(Q3ARCH)/tremded
 	zip -9 debian/z-debian-tremulous-ui-fixes.pk3 ui/joinserver.menu
 
-# Must not depend on anything. This is to be called by
-# binary-arch/binary-indep
-# in another 'make' thread.
-binary-common:
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs
-	dh_installdocs
-	dh_installmenu
-	dh_installinit
-	dh_link
-	dh_strip
+override_dh_compress:
 	dh_compress -X.pdf
-	dh_fixperms
-	dh_makeshlibs
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-# Build architecture independant packages using the common target.
-binary-indep: install-indep
-	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
-
-# Build architecture dependant packages using the common target.
-binary-arch: build-arch install-arch
-	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
-
-binary: binary-arch binary-indep
+
 .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch

-- 
team based FPS game - packaging



More information about the Pkg-games-commits mailing list