From 566ec4533776a12fc02dbde12b46674137d405bf Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Tue, 13 Feb 2024 09:50:50 +1300 Subject: [PATCH] fix install target of makefile --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index deb818c..e3a908a 100755 --- a/configure +++ b/configure @@ -31,10 +31,10 @@ esv: ${OBJS} clean: rm -f esv ${OBJS} ${INIOBJS} -install: esv - install -m755 esv ${DESTDIR}${PREFIX}/bin/esv - cp -f esv.1 ${DESTDIR}${MANPREFIX}/man1 - cp -f esv.conf.5 ${DESTDIR}${MANPREFIX}/man5 +install: + install -Dm755 esv ${DESTDIR}${PREFIX}/bin/esv + install -Dm644 esv.1 ${DESTDIR}${MANPREFIX}/man1/esv.1 + install -Dm644 esv.conf.5 ${DESTDIR}${MANPREFIX}/man5/esv.conf.5 .PHONY: all clean install '