Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2006 17:16:43 +0400
From:      Yar Tikhiy <yar@comp.chem.msu.su>
To:        current@freebsd.org
Subject:   JFYI: NO_MAN and <bsd.own.mk>
Message-ID:  <20060727131643.GA3298@comp.chem.msu.su>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060727131643.GA3298>