freebsd-skq/share/man/Makefile
Jung-uk Kim 07e547fe26 Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN.  For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS.  This patch
is slightly improved by me from:

PR:		misc/145212
2010-05-19 23:56:26 +00:00

21 lines
395 B
Makefile

# @(#)Makefile 8.2 (Berkeley) 4/16/94
# $FreeBSD$
.include <bsd.own.mk>
# XXX MISSING: man3f
SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
MAKEWHATIS?= makewhatis
makedb:
.if ${MK_MAN_UTILS} != "no"
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
.if ${MK_OPENSSL} != "no"
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
.endif
.endif
.include "${.CURDIR}/../Makefile.inc"
.include <bsd.subdir.mk>