JFYI: NO_MAN and <bsd.own.mk>

From: Yar Tikhiy <yar_at_comp.chem.msu.su>
Date: Thu, 27 Jul 2006 17:16:43 +0400
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
Received on Thu Jul 27 2006 - 11:16:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:58 UTC