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

Modified:
   packages/trunk/urbanterror/debian/rules
Log:
changed so it doesnt need to figure out platform and arch

Modified: packages/trunk/urbanterror/debian/rules
===================================================================
--- packages/trunk/urbanterror/debian/rules     2008-06-28 07:10:12 UTC (rev 
7541)
+++ packages/trunk/urbanterror/debian/rules     2008-06-28 07:10:28 UTC (rev 
7542)
@@ -9,9 +9,6 @@
 # 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)
 DEBIAN_DIR:=$(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname)
 DEB_SOURCE_PACKAGE:=$(shell dpkg-parsechangelog | grep Source |cut -f2 -d" ")
 VERSION:=$(shell dpkg-parsechangelog | grep Version | cut -d" " -f2|cut -d"-" 
-f1)
@@ -48,7 +45,7 @@
        (cd ioUrbanTerrorServerSource; BUILD_GAME_SO=0 BUILD_GAME_QVM=0 \
        $(MAKE) $(BUILD_FLAGS)) # We don't need these
 
-       touch $@        w
+       touch $@
 
 clean:
        dh_testdir
@@ -79,8 +76,8 @@
        dh_installdirs -s
        dh_icons -s
 
-       cp ioUrbanTerrorClientSource/$(BR)/ioUrbanTerror.$(ARCH) ioUrbanTerror
-       cp ioUrbanTerrorServerSource/$(BR)/ioUrTded.$(ARCH) ioUrTded
+       cp ioUrbanTerrorClientSource/release*/ioUrbanTerror.* ioUrbanTerror
+       cp ioUrbanTerrorServerSource/release*/ioUrTded.* ioUrTded
 
        dh_desktop -purbanterror debian/urbanterror.desktop
        dh_installman -purbanterror debian/urbanterror.6


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to