[quake] 01/01: ETQW: the client uses an alternative dotdir

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Dec 28 13:30:50 UTC 2015


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

detiste-guest pushed a commit to branch master
in repository quake.

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/quake.git



More information about the Pkg-games-commits mailing list