JFYI: NO_MAN and <bsd.own.mk>

Yar Tikhiy yar at comp.chem.msu.su
Thu Jul 27 13:16:47 UTC 2006


Hi folks,

This doesn't seem documented, so I'd like to tell what I found.
(Any ideas where to document this?)

NO_MAN is handled by <bsd.own.mk> now, which has a consequence.
If a Makefile sets NO_MAN and includes <bsd.own.mk>, it should do
the former before the latter; NO_MAN would have no effect otherwise.
E.g.:

# $FreeBSD$

PROG=	mumble
NO_MAN=

.include <bsd.own.mk>

.if ${MK_FOO_SUPPORT} != "no"
CFLAGS+= -DFOO
.endif

.include <bsd.prog.mk>

-- 
Yar


More information about the freebsd-current mailing list