summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-09-04 00:17:44 +0200
committerAki <please@ignore.pl>2024-09-04 22:50:31 +0200
commit72658cc5d8e0d48ef323d0cd16ad2a95bbc4954d (patch)
tree9f670b6e009c6e50145a39e403c311b409885e53
parent68db2b554e23157d218e07a10d9aed81a1da197e (diff)
downloadlua-dottify-master.zip
lua-dottify-master.tar.gz
lua-dottify-master.tar.bz2
Added Makefile with generic installation targetHEADmaster
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3d4e8bc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+LUA_VERSION=5.4
+DESTDIR=
+PREFIX=/usr/local
+DATADIR=$(PREFIX)/share
+LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION)
+
+all:
+ @echo Nothing to do
+
+install:
+ install -m644 -Dt $(DESTDIR)$(LUA_LMOD) dottify.lua
+
+uninstall:
+ rm -f $(DESTDIR)$(LUA_LMOD)/dottify.lua
+
+.PHONY: all install uninstall