summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 639aaae..a02d468 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ LUA_VER := 5.1
TEST_MODULES := $(MODULES)
-INST_BASE := /usr/local
+PREFIX ?= /usr/local
+
+INST_BASE := $(PREFIX)
WRAPPER_PATH := $(INST_BASE)/bin/supple-sandbox$(LUA_VER)
LINST_ROOT := $(DESTDIR)$(INST_BASE)/share/lua/$(LUA_VER)