Bug 216839 - man page: document BSDmakefile for make
Summary: man page: document BSDmakefile for make
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2017-02-06 04:28 UTC by Iblis Lin
Modified: 2018-04-10 19:56 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 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