summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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