man page allows for installing only manual

This commit is contained in:
James Tomasino 2019-03-19 00:34:22 -04:00
parent 27034f119c
commit 904fbca6cf
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/share/man/man1
install: ${BINDIR}/todo ${MANDIR}/todo.1
install-man: ${MANDIR}/todo.1
${BINDIR}/todo:
@echo Installing the executable to $(BINDIR)
@ -22,4 +23,4 @@ uninstall:
@echo Removing the manual page from $(MANDIR)
@rm -f $(BINDIR)/todo.1
.PHONY: install uninstall
.PHONY: install install-man uninstall