Print the actual BINDIR instead of PREFIX/bin - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit e3c493c41e23b8eed9492a442b7061c927899368 DIR parent aca1a622b23ce1050b01dc7b96f46755e9f91d2e HTML 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: M Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR 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"