summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-06-08 00:14:10 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-06-08 00:14:10 +0000
commit00b90182203e6c08a3fefc1d38978b3b310d0fd6 (patch)
tree2a5dd07f781134591f6487134e85bb5b7a985b32
parent1dd8d42bae62329f056190ad439c95117e254648 (diff)
. include,
variable modifiers: standard vs non-standard. ok miod@, millert@
-rw-r--r--usr.bin/make/make.116
1 files changed, 14 insertions, 2 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 029fae9efb4..45f77ffd50e 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: make.1,v 1.45 2002/04/16 19:37:16 espie Exp $
+.\" $OpenBSD: make.1,v 1.46 2002/06/08 00:14:09 espie Exp $
.\" $OpenPackages$
.\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $
.\"
@@ -798,6 +798,9 @@ is the substring of
to be replaced in
.Ar new_string
.El
+All modifiers are BSD extensions, except for the standard
+.At V
+style variable substitution.
.Sh INCLUDE STATEMENTS, CONDITIONALS AND FOR LOOPS
Makefile inclusion, conditional structures and for loops reminiscent
of the C programming language are provided in
@@ -806,6 +809,15 @@ All such structures are identified by a line beginning with a single
dot
.Pq Ql \&.
character.
+Whitespace characters may follow this dot, e.g.,
+.Bd -literal
+ \&.include <file>
+.Ed
+and
+.Bd -literal
+ \&. include <file>
+.Ed
+are identical constructs.
Files are included with either
.Ql .include <file>
or
@@ -918,7 +930,7 @@ logical OR
Logical
.Tn AND ;
of higher precedence than
-.Dq .
+.Dq \&|\&| .
.El
.Pp
As in C,