From 54931d1465332d5f156944e1983b86e50ad1b209 Mon Sep 17 00:00:00 2001 From: phillbush Date: Sun, 17 May 2020 01:28:04 -0300 Subject: [PATCH] `make install` now install the manpage --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d63b397..3fdb5e3 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,10 @@ clean: install: all install -d ${DESTDIR}${PREFIX}/bin/ install -m 755 ${PROG} ${DESTDIR}${PREFIX}/bin/ + install -m 644 ${PROG}.1 ${DESTDIR}${MANPREFIX} uninstall: - rm -f ${DESTDIR}${PREFIX}/bin/${PROG} + rm -f ${DESTDIR}/${PREFIX}/bin/${PROG} + rm -f ${DESTDIR}/${MANPREFIX}/${PROG}.1 .PHONY: all clean install uninstall