Note that an unrecognised word in a .if is the same as in .ifdef and that

such a word has to be white-space separated.
From PR bin/30967 bin/37222 and maybe others!
This commit is contained in:
dsl 2008-12-21 21:05:27 +00:00
parent f2de2e5cbd
commit 14bf83b326

View File

@ -1,4 +1,4 @@
.\" $NetBSD: make.1,v 1.149 2008/12/21 19:32:16 dsl Exp $
.\" $NetBSD: make.1,v 1.150 2008/12/21 21:05:27 dsl Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@ -1449,16 +1449,17 @@ of a string comparison.
.Pp
When
.Nm
is evaluating one of these conditional expression, and it encounters
a word it doesn't recognize, either the
is evaluating one of these conditional expressions, and it encounters
a (white-space separated) word it doesn't recognize, either the
.Dq make
or
.Dq defined
expression is applied to it, depending on the form of the conditional.
If the form is
.Ql Ic .ifdef
or
.Ql Ic .ifdef ,
.Ql Ic .ifndef ,
or
.Ql Ic .if
the
.Dq defined
expression is applied.