commit e3c493c41e23b8eed9492a442b7061c927899368
parent aca1a622b23ce1050b01dc7b96f46755e9f91d2e
Author: Lucas Gabriel Vuotto <lvuotto92@gmail.com>
Date: Mon, 22 Jan 2018 15:10:28 -0300
Print the actual BINDIR instead of PREFIX/bin
Signed-off-by: Lucas Gabriel Vuotto <lvuotto92@gmail.com>
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -39,7 +39,7 @@ clean:
@rm -f ${NAME} ${OBJ} ${NAME}-${VERSION}.tar.gz
install: all
- @echo installing executable to ${DESTDIR}${PREFIX}/bin
+ @echo installing executable to ${DESTDIR}${BINDIR}
@mkdir -p "${DESTDIR}${BINDIR}"
@cp -f ${NAME} "${DESTDIR}${BINDIR}"
@chmod 755 "${DESTDIR}${BINDIR}/${NAME}"
@@ -49,7 +49,7 @@ install: all
@chmod 644 "${DESTDIR}${MANDIR}/${NAME}.8"
uninstall:
- @echo removing executable file from "${DESTDIR}${PREFIX}/bin"
+ @echo removing executable file from ${DESTDIR}${BINDIR}
@rm -f "${DESTDIR}${BINDIR}/${NAME}"
@echo removing manpage from "${DESTDIR}${MANDIR}"
@rm -f "${DESTDIR}${MANDIR}/${NAME}.8"