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