xref: /freebsd/share/man/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1c6063d0dSWarner Losh.include <src.opts.mk>
2e1fe3dbaSRuslan Ermilov
3aafa9544SRodney W. Grimes# XXX MISSING:	man3f
473577bf0SRyan MoellerSUBDIR=	man1 man3 man3lua man4 man5 man6 man7 man8 man9
5aa92269eSBryan DrewerySUBDIR_PARALLEL=
6d5ca85cdSJordan K. Hubbard
72bbc414fSMark MurrayMAKEWHATIS?=	makewhatis
8de29c3cfSMark Murray
9d5ca85cdSJordan K. Hubbardmakedb:
1007e547feSJung-uk Kim.if ${MK_MAN_UTILS} != "no"
11f28645c0SRuslan Ermilov	${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
12*41eb4a4cSJessica Clarke.if defined(NO_ROOT) && defined(METALOG)
13*41eb4a4cSJessica Clarke	echo ".${DISTBASE}${BINDIR}/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
14*41eb4a4cSJessica Clarke		cat -l >> ${METALOG}
15*41eb4a4cSJessica Clarke.endif
16e1fe3dbaSRuslan Ermilov.if ${MK_OPENSSL} != "no"
179d05db9dSRuslan Ermilov	${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
18*41eb4a4cSJessica Clarke.if defined(NO_ROOT) && defined(METALOG)
19*41eb4a4cSJessica Clarke	echo ".${DISTBASE}${BINDIR}/openssl/man/mandoc.db type=file mode=0644 uname=root gname=wheel" | \
20*41eb4a4cSJessica Clarke		cat -l >> ${METALOG}
21*41eb4a4cSJessica Clarke.endif
22b1c28d0aSRuslan Ermilov.endif
2307e547feSJung-uk Kim.endif
24d5ca85cdSJordan K. Hubbard
258dc01fa8SRodney W. Grimes.include "${.CURDIR}/../Makefile.inc"
26254b131fSBruce Evans.include <bsd.subdir.mk>
27