diff options
author | Aki <please@ignore.pl> | 2024-09-03 21:35:27 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-09-03 21:36:47 +0200 |
commit | 84d611c78ac65113ed8cc7838994669de270d4d0 (patch) | |
tree | 5832af26d8c4bfe0c48773e2dc69f3ecb1da52ef /Makefile | |
parent | ed586b4fe54c9a3125cd7050f79a1b0d441644be (diff) | |
download | huh-84d611c78ac65113ed8cc7838994669de270d4d0.zip huh-84d611c78ac65113ed8cc7838994669de270d4d0.tar.gz huh-84d611c78ac65113ed8cc7838994669de270d4d0.tar.bz2 |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,15 +1,22 @@ +LUA_VERSION=5.4 DESTDIR= PREFIX=/usr/local PREFIX_EXEC=$(PREFIX) BINDIR=$(PREFIX_EXEC)/bin +DATADIR=$(PREFIX)/share +LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION) all: @echo nothing to do install: + install -m755 -DT generate-atom.lua $(DESTDIR)$(BINDIR)/generate-atom install -m755 -DT generate-index.lua $(DESTDIR)$(BINDIR)/generate-index + install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/huh huh/*.lua uninstall: + rm -f $(DESTDIR)$(BINDIR)/generate-atom rm -f $(DESTDIR)$(BINDIR)/generate-index + rm -rf $(DESTDIR)$(LUA_LMOD)/huh .PHONY: all install uninstall |