Bug 216839

Summary: man page: document BSDmakefile for make
Product: Documentation Reporter: Iblis Lin <iblis>
Component: Manual PagesAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: doc
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   

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
.MAKE.EXPAND_VARIABLES= yes

# 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.
.MAKE.ALWAYS_PASS_JOB_QUEUE= yes


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,
 .Nm
 will try to open
+.Ql Pa BSDmakefile
+,
 .Ql Pa makefile
 then
 .Ql Pa Makefile