[SCM] Packaging for the OpenArena engine branch, master, updated. debian/0.8.1-8-48-g9372e3f

Simon McVittie smcv at debian.org
Thu Jul 29 20:13:42 UTC 2010


The following commit has been merged in the master branch:
commit f7295a83359cfde3fe1c1c5efee52d1d474f8168
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Jul 28 19:51:27 2010 +0100

    Do a build in game/ as well as in engine/

diff --git a/debian/rules b/debian/rules
index 139d8ca..492850b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,10 +13,8 @@ Q3COMPILE_PLATFORM := $(shell sh $(CURDIR)/debian/q3arch.sh platform BUILD)
 
 CFLAGS += -fsigned-char
 
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE) -C engine USE_CURL=1 \
+ENGINE_OPTIONS = \
+			USE_CURL=1 \
 			BUILD_GAME_SO=1 \
 			BUILD_GAME_QVM=0 \
 			BUILD_STANDALONE=1 \
@@ -32,6 +30,18 @@ build-stamp:
 			PLATFORM=$(Q3PLATFORM) \
 			COMPILE_ARCH=$(Q3COMPILE_ARCH) \
 			COMPILE_PLATFORM=$(Q3COMPILE_PLATFORM)
+
+GAME_OPTIONS = \
+	$(ENGINE_OPTIONS) \
+	BUILD_CLIENT=0 \
+	BUILD_SERVER=0 \
+	CROSS_COMPILING=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+	$(MAKE) -C engine $(ENGINE_OPTIONS)
+	$(MAKE) -C game $(GAME_OPTIONS)
 	touch $@
 
 clean:

-- 
Packaging for the OpenArena engine



More information about the Pkg-games-commits mailing list