Bug 231357 - make: "/usr/share/mk/bsd.opts.mk" line 100: warning: "NO_MAN is defined, but deprecated. Please use MK_MAN=no instead."
Summary: make: "/usr/share/mk/bsd.opts.mk" line 100: warning: "NO_MAN is defined, but ...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL:
Keywords: easy, needs-patch
Depends on:
Blocks:
 
Reported: 2018-09-14 10:13 UTC by Mateusz Piotrowski
Modified: 2023-10-03 21:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Piotrowski freebsd_committer freebsd_triage 2018-09-14 10:13:56 UTC
I've tried to use NO_MAN in a bmake Makefile to declare that there are no manpages to build but I got the following message:

    make: "/usr/share/mk/bsd.opts.mk" line 100: warning: "NO_MAN is defined, but deprecated. Please use MK_MAN=no instead."

We should update our documentation (style.Makefile(5) for sure and maybe other as well) as they still recommend the use of `NO_MAN`.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-07-17 12:55:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=73fb7a7a7342bb590ba53e406b564df0d90c3304

commit 73fb7a7a7342bb590ba53e406b564df0d90c3304
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-07-17 12:50:33 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-07-17 12:52:28 +0000

    style.Makefile.5: Stop documenting NO_MAN

    NO_MAN has been an error since 2020 according to UPDATING.

    PR:             231357
    MFC after:      3 days

 share/man/man5/style.Makefile.5 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-10-03 21:47:08 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=6101f8ec954d3f56db044fc9a3bc92ce658812cc

commit 6101f8ec954d3f56db044fc9a3bc92ce658812cc
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2023-07-17 12:50:33 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2023-10-03 21:46:05 +0000

    style.Makefile.5: Stop documenting NO_MAN

    NO_MAN has been an error since 2020 according to UPDATING.

    PR:             231357
    MFC after:      3 days

    (cherry picked from commit 73fb7a7a7342bb590ba53e406b564df0d90c3304)

 share/man/man5/style.Makefile.5 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)