summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:47:12 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:47:12 +0100
commitd22b146438de5cf7bf97bb8c9a371472a20e2b64 (patch)
tree4d5b231ab2b15ff4de54e363fcaec4c9f5875b13
parent0a9024ac34f1e12332aaf7bda3e5f04da3de7f25 (diff)
downloadsupple-d22b146438de5cf7bf97bb8c9a371472a20e2b64.tar.gz
PREFIX, not INST_ROOT, please
-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)