xref: /freebsd/share/man/Makefile (revision 41eb4a4ca299e54225b0c4b76244bf50f691ee62)
1
2.include <src.opts.mk>
3
4# XXX MISSING:	man3f
5SUBDIR=	man1 man3 man3lua man4 man5 man6 man7 man8 man9
6SUBDIR_PARALLEL=
7
8MAKEWHATIS?=	makewhatis
9
10makedb:
11.if ${MK_MAN_UTILS} != "no"
12	${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
13.if defined(NO_ROOT) && defined(METALOG)
14	echo ".${DISTBASE}${BINDIR}/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
15		cat -l >> ${METALOG}
16.endif
17.if ${MK_OPENSSL} != "no"
18	${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
19.if defined(NO_ROOT) && defined(METALOG)
20	echo ".${DISTBASE}${BINDIR}/openssl/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
21		cat -l >> ${METALOG}
22.endif
23.endif
24.endif
25
26.include "${.CURDIR}/../Makefile.inc"
27.include <bsd.subdir.mk>
28