From bf2e80427886d20b07531027963abd145fc7b981 Mon Sep 17 00:00:00 2001 From: ennewalker Date: Fri, 4 Jul 2008 22:50:41 +0000 Subject: 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 --- crawl-ref/source/makefile.unix | 5 ++--- crawl-ref/source/makefile.x11 | 5 ++--- 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 -- cgit v1.2.3-54-g00ecf