Install man page

Refs #6
This commit is contained in:
Ryan Cavicchioni 2021-04-15 01:50:58 +00:00
parent f79de85d43
commit d6ca2d7921
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -4,6 +4,7 @@ BINDIR=$(CURDIR)/bin
PREFIX=/usr PREFIX=/usr
DESTDIR=bin DESTDIR=bin
BUILDDIR=$(CURDIR)/build BUILDDIR=$(CURDIR)/build
MANDIR=$(PREFIX)/share/man/man1
DEBBUILDDIR=$(BUILDDIR)/deb DEBBUILDDIR=$(BUILDDIR)/deb
DEBTMPLDIR=$(CURDIR)/packaging/debian DEBTMPLDIR=$(CURDIR)/packaging/debian
@ -50,8 +51,11 @@ build:
clean: deb-clean rpm-clean clean: deb-clean rpm-clean
$(Q) $(RM) $(EXE) $(Q) $(RM) $(EXE)
install-man:
install -p -D -m 0644 lume.1 $(DESTDIR)$(MANDIR)/lume.1
.PHONY: install .PHONY: install
install: install: install-man
$(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume $(Q) install -p -D -m 0755 $(EXE) $(DESTDIR)${PREFIX}/bin/lume
$(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc $(Q) install -p -D -m 0644 .lumerc.sample $(DESTDIR)${PREFIX}/share/lume/lumerc