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