[game-data-packager] 60/293: removed need to figure out platform and arch

Simon McVittie smcv at debian.org
Fri Oct 14 00:11:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch quake
in repository game-data-packager.

commit c7ab23686b1c1202249e0b9817bf83cdb3cfa6b4
Author: Jack Coulter <jscinoz at gmail.com>
Date:   Sat Jun 28 07:07:17 2008 +0000

    removed need to figure out platform and arch
---
 debian/quake3.install | 4 ++--
 debian/rules          | 8 ++------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/debian/quake3.install b/debian/quake3.install
index 120bfa6..32f181d 100644
--- a/debian/quake3.install
+++ b/debian/quake3.install
@@ -2,5 +2,5 @@ debian/quake3.desktop usr/share/applications
 debian/quake3.xpm usr/share/pixmaps
 debian/scripts/quake3 usr/games
 ioquake3 usr/lib/games/quake3
-$(BR)/baseq3/vm usr/share/games/quake3/baseq3
-$(BR)/missionpack/vm usr/share/games/quake3/missionpack
+build/*/baseq3/vm usr/share/games/quake3/baseq3
+build/*/missionpack/vm usr/share/games/quake3/missionpack
diff --git a/debian/rules b/debian/rules
index b90ca9c..b9a91a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +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)
-
 
 CFLAGS = -Wall -g
 
@@ -56,8 +52,8 @@ install-arch: build
 	dh_installdirs -s
 	dh_icons -s
 
-	cp $(BR)/ioquake3.$(ARCH) ioquake3
-	cp $(BR)/ioq3ded.$(ARCH) ioq3ded
+	cp build/*/ioquake3.* ioquake3
+	cp build/*/ioq3ded.* ioq3ded
 
 	dh_desktop -pquake3 debian/quake3.desktop
 	dh_installman -pquake3 debian/quake3.6

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list