[game-data-packager] 275/293: ETQW: the client uses an alternative dotdir
Simon McVittie
smcv at debian.org
Fri Oct 14 00:12:32 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 2e9b271091b2e3b2168c759109931dc800c13921
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Mon Dec 28 14:30:22 2015 +0100
ETQW: the client uses an alternative dotdir
---
Makefile | 4 ++++
quake4.in | 3 ++-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 29828e4..8be009a 100644
--- a/Makefile
+++ b/Makefile
@@ -91,6 +91,7 @@ build/quake4: quake4.in Makefile
-e 's!@pkglibdir@!/usr/lib/quake4!' \
-e 's!@paks@!pak001 pak021 pak022 zpak_english!' \
-e 's!@basegame@!q4base!' \
+ -e 's!@dotdir@!quake4!' \
< $< > $@
chmod +x $@
@@ -116,6 +117,7 @@ build/etqw: quake4.in Makefile
-e 's!@pkglibdir@!/usr/lib/etqw!' \
-e 's!@paks@!pak008 game000 pak000 zpak_english000!' \
-e 's!@basegame@!base!' \
+ -e 's!@dotdir@!etqwcl!' \
< $< > $@
chmod +x $@
@@ -168,6 +170,7 @@ build/quake4-dedicated: quake4.in Makefile
-e 's!@pkglibdir@!/usr/lib/quake4!' \
-e 's!@paks@!pak001 pak021 pak022 zpak_english!' \
-e 's!@basegame@!q4base!' \
+ -e 's!@dotdir@!quake4!' \
< $< > $@
chmod +x $@
@@ -185,6 +188,7 @@ build/etqw-dedicated: quake4.in Makefile
-e 's!@pkglibdir@!/usr/lib/etqw!' \
-e 's!@paks@!pak008 game000 pak000 zpak_english000!' \
-e 's!@basegame@!base!' \
+ -e 's!@dotdir@!etqw!' \
< $< > $@
chmod +x $@
diff --git a/quake4.in b/quake4.in
index 6454056..752101d 100644
--- a/quake4.in
+++ b/quake4.in
@@ -20,8 +20,9 @@ basegame="@basegame@"
paks="@paks@"
# absolute path to icon
icon="@icon@"
+# ~/.quake4 or ~/.etqwcl or ~/.etqw
+dotdir="${HOME}/. at dotdir@"
-dotdir="${HOME}/.${id}"
pkglibdir="/usr/lib/${id}"
help() {
--
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