summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/makefile.unix5
-rw-r--r--crawl-ref/source/makefile.x115
2 files changed, 4 insertions, 6 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index b1182bc1d7..2b55f4bd15 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -37,9 +37,8 @@ MCHMOD := 2755
MCHMOD_SAVEDIR := 775
# The user:group to install the game as.
-INSTALL_UGRP := games:games
-
-INSTALLDIR := /usr/games/crawl
+INSTALL_UGRP ?= games:games
+INSTALLDIR ?= /usr/games/crawl
# If you're installing Crawl for multiple users, you *must* set this to a
# valid path before building Crawl. This is not necessary if you are building
diff --git a/crawl-ref/source/makefile.x11 b/crawl-ref/source/makefile.x11
index 7b2c1714c3..3ec62a8327 100644
--- a/crawl-ref/source/makefile.x11
+++ b/crawl-ref/source/makefile.x11
@@ -36,9 +36,8 @@ MCHMOD := 2755
MCHMOD_SAVEDIR := 775
# The user:group to install the game as.
-INSTALL_UGRP := games:games
-
-INSTALLDIR := /usr/games/crawl
+INSTALL_UGRP ?= games:games
+INSTALLDIR ?= /usr/games/crawl
# If you're installing Crawl for multiple users, you *must* set this to a
# valid path before building Crawl. This is not necessary if you are building