summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:47:38 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:47:38 +0100
commitbc0a80c6916750aa95d25bf080e293cbd29faf12 (patch)
treed1ce57eeb9f9bdf30a7e62e9f6f39cce9d66b80c
parentf9055d00826f253aa35ad26f4fe1935c7ac28f7f (diff)
downloadgitano-bc0a80c6916750aa95d25bf080e293cbd29faf12.tar.gz
PREFIX, not INST_ROOT, please
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e018c10..d2cc3ec 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,8 @@ all: local
LUA_VER := 5.1
LUA := /usr/bin/lua$(LUA_VER)
-INST_ROOT := /usr/local
+PREFIX ?= /usr/local
+INST_ROOT := $(PREFIX)
# Internal stuff
LUA_MOD_PATH := $(INST_ROOT)/share/lua/$(LUA_VER)
@@ -98,4 +99,4 @@ install-skel:
mkdir -p $(SKEL_INST_PATH)/gitano-admin/rules
for SKELFILE in $(SKEL_FILES); do \
install -m 644 skel/$$SKELFILE $(SKEL_INST_PATH)/$$SKELFILE; \
- done \ No newline at end of file
+ done