summaryrefslogtreecommitdiff
path: root/share/man/Makefile
blob: 38108f536cf1cef72bf77f304616709604bbc9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#	$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} ${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>