summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2005-01-15 20:42:50 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2005-01-15 20:42:50 +0000
commit4cd9cc821b37c055d59aedba60da2bd16a3a3237 (patch)
treefcfec1b51ae4aa3314999e828e9bf6d1c7020e81 /usr.bin/make/make.1
parentdcc654b4eb83e2dc7ee805aa83420e08c1d5712e (diff)
Operator for comparisons is '==' and not '='.
ok naddy@
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 7cfcf429a77..707d334a22e 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: make.1,v 1.63 2004/04/21 13:17:49 jmc Exp $
+.\" $OpenBSD: make.1,v 1.64 2005/01/15 20:42:49 mbalmer Exp $
.\" $OpenPackages$
.\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $
.\"
@@ -1338,13 +1338,13 @@ in a test is very simple-minded.
Currently, the only form that works is
.Ql .if ${VAR} op something \.
For instance, tests should be written as
-.Ql .if ${VAR} = "string" ,
+.Ql .if ${VAR} == "string" ,
not the other way around, which doesn't work.
.Pp
For loops are expanded before tests, so a fragment such as:
.Bd -literal -offset indent
\&.for TMACHINE in ${SHARED_ARCHS}
-\&.if ${TMACHINE} = ${MACHINE}
+\&.if ${TMACHINE} == ${MACHINE}
...
\&.endif
\&.endfor