xref: /freebsd/share/man/Makefile (revision 41eb4a4ca299e54225b0c4b76244bf50f691ee62)
1afe61c15SRodney W. Grimes
2c6063d0dSWarner Losh.include <src.opts.mk>
3e1fe3dbaSRuslan Ermilov
4aafa9544SRodney W. Grimes# XXX MISSING:	man3f
573577bf0SRyan MoellerSUBDIR=	man1 man3 man3lua man4 man5 man6 man7 man8 man9
6aa92269eSBryan DrewerySUBDIR_PARALLEL=
7d5ca85cdSJordan K. Hubbard
82bbc414fSMark MurrayMAKEWHATIS?=	makewhatis
9de29c3cfSMark Murray
10d5ca85cdSJordan K. Hubbardmakedb:
1107e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no"
12f28645c0SRuslan Ermilov	${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
13*41eb4a4cSJessica Clarke.if defined(NO_ROOT) && defined(METALOG)
14*41eb4a4cSJessica Clarke	echo ".${DISTBASE}${BINDIR}/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
15*41eb4a4cSJessica Clarke		cat -l >> ${METALOG}
16*41eb4a4cSJessica Clarke.endif
17e1fe3dbaSRuslan Ermilov.if ${MK_OPENSSL} != "no"
189d05db9dSRuslan Ermilov	${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
19*41eb4a4cSJessica Clarke.if defined(NO_ROOT) && defined(METALOG)
20*41eb4a4cSJessica Clarke	echo ".${DISTBASE}${BINDIR}/openssl/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
21*41eb4a4cSJessica Clarke		cat -l >> ${METALOG}
22*41eb4a4cSJessica Clarke.endif
23b1c28d0aSRuslan Ermilov.endif
2407e547feSJung-uk Kim.endif
25d5ca85cdSJordan K. Hubbard
268dc01fa8SRodney W. Grimes.include "${.CURDIR}/../Makefile.inc"
27254b131fSBruce Evans.include <bsd.subdir.mk>
28