summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-12-29 02:51:22 +0100
committerAki <please@ignore.pl>2023-12-29 03:03:49 +0100
commitedf34ef94eb35988833e21bd0a0287405d509434 (patch)
tree62ac0e08138e460a9bf0eec6f7358825f3074ee9
parentf318cd649290e40feaa08ac6c926f1d35e96615e (diff)
downloadlua-srcinfo-edf34ef94eb35988833e21bd0a0287405d509434.zip
lua-srcinfo-edf34ef94eb35988833e21bd0a0287405d509434.tar.gz
lua-srcinfo-edf34ef94eb35988833e21bd0a0287405d509434.tar.bz2
Changed style of makefile LMOD dir
-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