diff options
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 |