From 72658cc5d8e0d48ef323d0cd16ad2a95bbc4954d Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 4 Sep 2024 00:17:44 +0200 Subject: Added Makefile with generic installation target --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.1