summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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