From d6ca2d79216aa40183713c779eb11a5036e534c7 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Thu, 15 Apr 2021 01:50:58 +0000 Subject: [PATCH] Install man page Refs #6 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0cf5e72..66cf911 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ BINDIR=$(CURDIR)/bin PREFIX=/usr DESTDIR=bin BUILDDIR=$(CURDIR)/build +MANDIR=$(PREFIX)/share/man/man1 DEBBUILDDIR=$(BUILDDIR)/deb DEBTMPLDIR=$(CURDIR)/packaging/debian @@ -50,8 +51,11 @@ build: clean: deb-clean rpm-clean $(Q) $(RM) $(EXE) +install-man: + install -p -D -m 0644 lume.1 $(DESTDIR)$(MANDIR)/lume.1 + .PHONY: install -install: +install: install-man $(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume $(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc