summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-09-25 20:44:19 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-09-25 20:44:19 +0000
commit08473d2d3ab2ec3121f2094b78f709f8f06a727f (patch)
tree43c624050e5ee0ffa6e04c6084f9790abe844504
parent1b801bf4dedad366ed5604677b3f1eeddb9e1d2b (diff)
Install the copyright notice as ${MANOWN}:${MANGRP} with ${MANMODE} and
use ${INSTALL_COPY}; chown root:wheel mandoc.db for noperm builds. ok natano
-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>