summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.unix
diff options
context:
space:
mode:
authorennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-04 22:50:41 +0000
committerennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-04 22:50:41 +0000
commitbf2e80427886d20b07531027963abd145fc7b981 (patch)
tree1b5c41678bdc926630d2d462f270b39dffcf5c0e /crawl-ref/source/makefile.unix
parent67f07e0aa94db80e3121490159da5234c06e825c (diff)
downloadcrawl-ref-bf2e80427886d20b07531027963abd145fc7b981.tar.gz
crawl-ref-bf2e80427886d20b07531027963abd145fc7b981.zip
Modifying makefiles to allow user group and install dir to be overridden so that 'make install' can be used to build binary packages for release.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6400 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r--crawl-ref/source/makefile.unix5
1 files changed, 2 insertions, 3 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