Bug 216839 - man page: document BSDmakefile for make
Summary: man page: document BSDmakefile for make
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Keywords: patch
Depends on:
Reported: 2017-02-06 04:28 UTC by Iblis Lin
Modified: 2021-10-12 05:24 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Iblis Lin 2017-02-06 04:28:49 UTC
Just fonud thant make will search BSDmakefile:

└─[iblis@ionic]% cat /usr/src/share/mk/sys.mk | grep -5 BSDmakefile 

# Tell bmake to expand -V VAR by default

# Tell bmake the makefile preference
.MAKE.MAKEFILE_PREFERENCE= BSDmakefile makefile Makefile

# Tell bmake to always pass job tokens, regardless of target depending on
# .MAKE or looking like ${MAKE}/${.MAKE}/$(MAKE)/$(.MAKE)/make.

And here is the patch:

Index: contrib/bmake/make.1
--- contrib/bmake/make.1        (revision 313274)
+++ contrib/bmake/make.1        (working copy)
@@ -60,6 +60,8 @@
 makefile option is given,
 will try to open
+.Ql Pa BSDmakefile
 .Ql Pa makefile
 .Ql Pa Makefile