diff options
author | Florian Stinglmayr <florian@n0la.org> | 2016-03-08 10:39:33 +0100 |
---|---|---|
committer | Florian Stinglmayr <florian@n0la.org> | 2016-03-08 10:39:33 +0100 |
commit | 4c2d596a741c4a7be3c82a6a965079041f88e050 (patch) | |
tree | b0e2f7fcab98c65f2ec92929f480cc9e3f0dbddc | |
parent | 6f70dd89924672cea442c2477fd60827d9ae2edb (diff) | |
download | lua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.tar.gz lua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.tar.bz2 lua-term-4c2d596a741c4a7be3c82a6a965079041f88e050.zip |
Allow user to override LUA_VER and LUA_DIR.
This way you can specifiy an alternate Lua version through the
environment when calling make. This allows for full support of
all OpenBSD Lua flavours by just overriding LUA_VER and LUA_DIR.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | #this file builds lua-term \o/ | 1 | #this file builds lua-term \o/ |
2 | 2 | ||
3 | LUA_VER := 5.1 | 3 | LUA_VER ?= 5.1 |
4 | LUA_DIR := /usr | 4 | LUA_DIR ?= /usr |
5 | LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term | 5 | LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term |
6 | LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) | 6 | LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) |
7 | LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term | 7 | LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term |