summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-09-11 15:03:34 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-09-11 15:03:34 +0000
commit09e6d6f74382e8e89c32105f9f323f7463751596 (patch)
tree88c356f95d6da2a983588ce7b712b3008498b4a0 /usr.bin/mg
parent1f4ddfd6cc6a0f9b8c132b12dc1877747b9ec659 (diff)
Install mg tutorial with correct permissions. ok deraadt
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/Makefile b/usr.bin/mg/Makefile
index 94516740d35..6099e3725cb 100644
--- a/usr.bin/mg/Makefile
+++ b/usr.bin/mg/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.31 2015/09/29 03:50:58 tedu Exp $
+# $OpenBSD: Makefile,v 1.32 2016/09/11 15:03:33 natano Exp $
PROG= mg
@@ -24,8 +24,8 @@ SRCS= autoexec.c basic.c bell.c buffer.c cinfo.c dir.c display.c \
SRCS+= cmode.c cscope.c dired.c grep.c tags.c theo.c
afterinstall:
- ${INSTALL} -d ${DESTDIR}${DOCDIR}/mg
- ${INSTALL} -m ${DOCMODE} -c ${.CURDIR}/tutorial \
- ${DESTDIR}${DOCDIR}/mg
+ ${INSTALL} -d -o root -g wheel ${DESTDIR}${DOCDIR}/mg
+ ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} \
+ ${.CURDIR}/tutorial ${DESTDIR}${DOCDIR}/mg
.include <bsd.prog.mk>