diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-10-20 07:27:47 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-10-20 07:27:47 +0000 |
commit | 291e5b4cf1e178463fb193e14d875a63e28c4056 (patch) | |
tree | 6fc0b97a65af90673530f9311ce44df576fdb88d /usr.bin/make | |
parent | fe1a826873c79c437fdf9b5d9a8f14d62315c3e9 (diff) |
document sinclude/-include
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/make.1 | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index f3c0368e4c9..902b87218ba 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: make.1,v 1.115 2014/07/16 14:11:50 jmc Exp $ +.\" $OpenBSD: make.1,v 1.116 2014/10/20 07:27:46 espie Exp $ .\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: July 16 2014 $ +.Dd $Mdocdate: October 20 2014 $ .Dt MAKE 1 .Os .Sh NAME @@ -1228,6 +1228,26 @@ must be a multiple of three. .Pp Loops and conditional expressions may nest arbitrarily, but they may not cross include file boundaries. +.Pp +.Nm +also supports +.Ic sinclude +and +.Ic -include +for compatibility with other implementations. +Both use the same syntax: +.Bd -unfilled -offset indent +.Ic sinclude Pa file +.Ic -include Pa file +.Ed +.Pp +.Po +note no quotes around +.Pa file +.Pc +and will include +.Pa file , +but without any error if it does not exist. .Sh COMMENTS Comments begin with a hash .Pq Ql \&# |