From 90be8407ccc34a0ee26ee25b1ff1384c393138c0 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 11 Feb 2024 00:31:45 +0100 Subject: Added a manpage --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 236b04d..161fed2 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ LUA_VERSION=5.4 PREFIX=/usr/local BINDIR=$(PREFIX)/bin DATADIR=$(PREFIX)/share +MANDIR=$(DATADIR)/man +MAN1DIR=$(MANDIR)/man1 LUA_LMOD=$(DATADIR)/lua/$(LUA_VERSION) all: @@ -10,11 +12,13 @@ all: install: install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity activity/*.lua install -m644 -Dt $(DESTDIR)$(LUA_LMOD)/activity/formats activity/formats/*.lua - install -m755 -DT generate.lua $(DESTDIR)$(BINDIR)/activity + install -m755 -DT activity.lua $(DESTDIR)$(BINDIR)/activity + install -m644 -Dt $(DESTDIR)$(MAN1DIR) activity.1 uninstall: rm -rf $(DESTDIR)$(LUA_LMOD)/activity rm -f $(DESTIR)$(BINDIR)/activity + rm -f $(DESTIR)$(MAN1DIR)/activity.1 test: busted -- cgit v1.1