summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-09-26 20:31:00 +0000
committerphk <phk@FreeBSD.org>2005-09-26 20:31:00 +0000
commit87620dae7558e911f0092874fdc8fd90e4ff933a (patch)
tree4f55db457e21d4349b7ca39ce5dce6880c4d7400 /usr.bin/make/make.1
parentbedcd4ace8e6c1ce8c4308a2e5dd2e0a92d9ac06 (diff)
downloadFreeBSD-src-87620dae7558e911f0092874fdc8fd90e4ff933a.zip
FreeBSD-src-87620dae7558e911f0092874fdc8fd90e4ff933a.tar.gz
Add a .sinclude directive which does the exact same as .include, except
whine when the file cannot be found and opened.
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.110
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 29f74ac..20506db 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -578,8 +578,10 @@ to the canonical path given by
As
.Nm
reads various makefiles, including the default files and any
-obtained from the command line and
+obtained from the command line
.Ic .include
+and
+.Ic .sinclude
directives, their names will be automatically appended to the
.Va .MAKEFILE_LIST
variable.
@@ -836,6 +838,12 @@ makefile's directory and any directories specified using the
.Fl I
option are searched before the system
makefile directory.
+The
+.It Ic \&.sinclude Ar <file>
+.It Ic \&.sinclude Ar \*qfile\*q
+Like
+.Ic .include ,
+but silently ignored if the file cannot be found and opened.
.It Ic .undef Ar variable
Un-define the specified global variable.
Only global variables may be un-defined.
OpenPOWER on IntegriCloud