Installation man destination and installed files permissions fix - drist - a remote deployment tool HTML git clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit effbcbb28f2dc6e52573e1793ac1546c7c45e2a6 DIR parent 77c4be5036ce2fa61fed61f05a43cffa42201bdd HTML Author: Solene Rapenne <solene@perso.pw> Date: Mon, 25 Nov 2019 09:22:50 +0100 Installation man destination and installed files permissions fix patch received by mail from "paper" Diffstat: M Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/Makefile b/Makefile @@ -5,17 +5,17 @@ BIN = drist PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin -MANDIR ?= ${PREFIX}/man +MANDIR ?= ${PREFIX}/share/man all: install: @echo installing executable to "${DESTDIR}${PREFIX}/bin" @mkdir -p "${DESTDIR}${BINDIR}" - @install "${BIN}" "${DESTDIR}${BINDIR}/${BIN}" + @install -m 0755 "${BIN}" "${DESTDIR}${BINDIR}/${BIN}" @echo installing manual page to ${DESTDIR}${MANDIR}/man1 @mkdir -p "${DESTDIR}${MANDIR}/man1" - @install "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1" + @install -m 0644 "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1" uninstall: @echo removing executable file from "${DESTDIR}${PREFIX}/bin"