summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/man/Makefile b/share/man/Makefile
index a768d60ee3c..38108f536cf 100644
--- a/share/man/Makefile
+++ b/share/man/Makefile
@@ -1,13 +1,14 @@
-# $OpenBSD: Makefile,v 1.10 2014/04/18 10:00:48 schwarze Exp $
+# $OpenBSD: Makefile,v 1.11 2016/09/25 20:44:18 tb Exp $
# from: @(#)Makefile 5.9 (Berkeley) 7/1/91
SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
afterinstall:
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 man0/COPYRIGHT \
- ${DESTDIR}/usr/share/man/COPYRIGHT
+ ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
+ man0/COPYRIGHT ${DESTDIR}/usr/share/man/COPYRIGHT
makedb:
/usr/sbin/makewhatis -Qv ${DESTDIR}/usr/share/man
+ chown root:wheel ${DESTDIR}/usr/share/man/mandoc.db
.include <bsd.subdir.mk>