bitreich-drist

fork of bitreich.org/drist
git clone git://git.pyratebeard.net/bitreich-drist.git
Log | Files | Refs | README | LICENSE

commit effbcbb28f2dc6e52573e1793ac1546c7c45e2a6
parent 77c4be5036ce2fa61fed61f05a43cffa42201bdd
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:
MMakefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

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"