r7541 - packages/trunk/worldofpadman/debian

Jack Coulter jscinoz-guest at alioth.debian.org
Sat Jun 28 07:10:13 UTC 2008


Author: jscinoz-guest
Date: 2008-06-28 07:10:12 +0000 (Sat, 28 Jun 2008)
New Revision: 7541

Modified:
   packages/trunk/worldofpadman/debian/rules
Log:
removed need to find out platform and arch

Modified: packages/trunk/worldofpadman/debian/rules
===================================================================
--- packages/trunk/worldofpadman/debian/rules	2008-06-28 07:07:17 UTC (rev 7540)
+++ packages/trunk/worldofpadman/debian/rules	2008-06-28 07:10:12 UTC (rev 7541)
@@ -9,11 +9,7 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-PLATFORM=$(shell uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]')
-ARCH=$(shell uname -m | sed -e s/i.86/i386/)
-BR=build/release-$(PLATFORM)-$(ARCH)
 
-
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -26,7 +22,7 @@
 build-arch: build-arch-stamp
 build-arch-stamp:
 	dh_testdir
-	BUILD_GAME_SO=0 BUILD_GAME_QVM=0 $(MAKE) $(BUILD_FLAGS)# We don't need these
+	BUILD_GAME_SO=0 BUILD_GAME_QVM=0 $(MAKE) $(BUILD_FLAGS) # We don't need these
 
 clean:
 	dh_testdir
@@ -53,8 +49,8 @@
 	dh_installdirs -s
 	dh_icons -s
 
-	cp $(BR)/wop-engine.$(ARCH) wop-engine
-	cp $(BR)/wopded.$(ARCH) wopded
+	cp build/release*/wop-engine.* wop-engine
+	cp build/release*/wopded.* wopded
 
 	dh_desktop -pworldofpadman debian/worldofpadman.desktop
 	dh_installman -pworldofpadman debian/worldofpadman.6




More information about the Pkg-games-commits mailing list