summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:46:20 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2013-04-14 09:46:20 +0100
commit2cf7b10b5b0cbb8f49c869977ef9c4dcd97e9222 (patch)
tree08b15b2680d2b8617489c5604120ba500a4899dd
parent98f6297ab4bc566f3496f4cfa4e6d7d8b41fdbe6 (diff)
downloadgall-2cf7b10b5b0cbb8f49c869977ef9c4dcd97e9222.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 ec3f5bc..eb45159 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,9 @@ MODULES := gall gall.util gall.ll \
gall.repository gall.object gall.commit gall.tag gall.tree
LUA_VER := 5.1
-INST_BASE := /usr/local
+PREFIX ?= /usr/local
+
+INST_BASE := $(PREFIX)
INST_ROOT := $(DESTDIR)$(INST_BASE)/share/lua/$(LUA_VER)
C_INST_ROOT := $(DESTDIR)$(INST_BASE)/lib/lua/$(LUA_VER)