Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2016 12:45:13 -0700
From:      Ngie Cooper <yaneurabeya@gmail.com>
To:        Alan Somers <asomers@freebsd.org>
Cc:        Baptiste Daroussin <bapt@freebsd.org>,  "src-committers@freebsd.org" <src-committers@freebsd.org>,  "svn-src-projects@freebsd.org" <svn-src-projects@freebsd.org>
Subject:   Re: svn commit: r298701 - in projects/zfsd/head: cddl/sbin/zfsd share/mk
Message-ID:  <CAGHfRMAoz35zXq3CE_1ADWhAZn7si5XDkj=0vnk7r5-4mPV7eg@mail.gmail.com>
In-Reply-To: <CAOtMX2j26N=HjKPr4To2bDHLGUHz7DzUgo7QVERtG2S9E6KdqQ@mail.gmail.com>
References:  <201604271527.u3RFRNh3082189@repo.freebsd.org> <20160427161359.GP26116@ivaldir.etoilebsd.net> <CAOtMX2j26N=HjKPr4To2bDHLGUHz7DzUgo7QVERtG2S9E6KdqQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 27, 2016 at 9:20 AM, Alan Somers <asomers@freebsd.org> wrote:

...

> Ok, I'll change it.  Is that a recent change?  When it was still NO_MAN,
> make printed an error advising me to use "MK_MAN=no".

- MK_MAN=no/NO_MAN is for turning off manpage support.
- MAN= is for explicitly declaring that no manpages are included in
the subdirectory.

MAN= has been present for a number of years, but only became important
in FreeBSD 11.x because of the NO_MAN= deprecation, soon to be removal
in 12 according to imp@.

I added the snippet below to a commonly used Makefile at $work.

Thanks,
-Ngie

# See share/mk/bsd.mkopts.mk@r276556 note about deprecating NO_foo in FreeBSD 12
.ifdef NO_MAN
.error "${.CURDIR}: NO_MAN has been deprecated in future revisions of
FreeBSD; please use MAN= instead"
.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMAoz35zXq3CE_1ADWhAZn7si5XDkj=0vnk7r5-4mPV7eg>