summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 892082b..337be3c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-LUAVERSION?=5.4
+LUA_VERSION?=5.4
PREFIX?=/usr/local
DATADIR=$(PREFIX)/share
-LUADIR=$(DATADIR)/lua/$(LUAVERSION)
+LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)
all:
@@ -9,9 +9,9 @@ test:
busted
install:
- install -m644 -Dt $(DESTDIR)$(LUADIR) srcinfo.lua
+ install -m644 -Dt $(DESTDIR)$(LUA_LMOD) srcinfo.lua
uninstall:
- rm -f $(DESTDIR)$(LUADIR)/srcinfo.lua
+ rm -f $(DESTDIR)$(LUA_LMOD)/srcinfo.lua
.PHONY: all test install uninstall