diff options
author | 2014-10-20 07:27:46 +0000 | |
---|---|---|
committer | 2014-10-20 07:27:46 +0000 | |
commit | c4783c29612c1a90709c8bdbb38fce90c62ad89b (patch) | |
tree | b3aff767f2c10cb5e07b4efb84e16b08d9722803 | |
parent | fix if (statement); (diff) | |
download | wireguard-openbsd-c4783c29612c1a90709c8bdbb38fce90c62ad89b.tar.xz wireguard-openbsd-c4783c29612c1a90709c8bdbb38fce90c62ad89b.zip |
document sinclude/-include
-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 \&# |