Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): fix and simplify optional negation on ...



details:   https://anonhg.NetBSD.org/src/rev/ca7fdb61636a
branches:  trunk
changeset: 370075:ca7fdb61636a
user:      uwe <uwe%NetBSD.org@localhost>
date:      Thu Sep 15 14:49:36 2022 +0000

description:
make(1): fix and simplify optional negation on conditional

diffstat:

 usr.bin/make/make.1 |  23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diffs (61 lines):

diff -r 7807c1580e22 -r ca7fdb61636a usr.bin/make/make.1
--- a/usr.bin/make/make.1       Thu Sep 15 14:39:33 2022 +0000
+++ b/usr.bin/make/make.1       Thu Sep 15 14:49:36 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.346 2022/09/15 14:39:33 uwe Exp $
+.\"    $NetBSD: make.1,v 1.347 2022/09/15 14:49:36 uwe Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -1903,40 +1903,41 @@
 .El
 .Ss Conditionals
 The directives for conditionals are:
+.ds maybenot Oo Ic \&! Oc Ns
 .Bl -tag -width Ds
-.It Ic \&.if Oo \&! Oc Ns Ar expression Op Ar operator expression No ...
+.It Ic .if \*[maybenot] Ar expression Op Ar operator expression No ...
 Test the value of an expression.
-.It Ic .ifdef Oo \&! Oc Ns Ar variable Op Ar operator variable No ...
+.It Ic .ifdef \*[maybenot] Ar variable Op Ar operator variable No ...
 Test the value of a variable.
-.It Ic .ifndef Oo \&! Oc Ns Ar variable Op Ar operator variable No ...
+.It Ic .ifndef \*[maybenot] Ar variable Op Ar operator variable No ...
 Test the value of a variable.
-.It Ic .ifmake Oo \&! Oc Ns Ar target Op Ar operator target No ...
+.It Ic .ifmake \*[maybenot] Ar target Op Ar operator target No ...
 Test the target being requested.
-.It Ic .ifnmake Oo \&! Oc Ns Ar target Op Ar operator target No ...
+.It Ic .ifnmake \*[maybenot] Ar target Op Ar operator target No ...
 Test the target being requested.
 .It Ic .else
 Reverse the sense of the last conditional.
-.It Ic .elif Oo \&! Oc Ns Ar expression Op Ar operator expression No ...
+.It Ic .elif \*[maybenot] Ar expression Op Ar operator expression No ...
 A combination of
 .Sq Ic .else
 followed by
 .Sq Ic .if .
-.It Ic .elifdef Oo \&! Oc Ns Ar variable Op Ar operator variable No ...
+.It Ic .elifdef \*[maybenot] Ar variable Op Ar operator variable No ...
 A combination of
 .Sq Ic .else
 followed by
 .Sq Ic .ifdef .
-.It Ic .elifndef Oo \&! Oc Ns Ar variable Op Ar operator variable No ...
+.It Ic .elifndef \*[maybenot] Ar variable Op Ar operator variable No ...
 A combination of
 .Sq Ic .else
 followed by
 .Sq Ic .ifndef .
-.It Ic .elifmake Oo \&! Oc Ns Ar target Op Ar operator target No ...
+.It Ic .elifmake \*[maybenot] Ar target Op Ar operator target No ...
 A combination of
 .Sq Ic .else
 followed by
 .Sq Ic .ifmake .
-.It Ic .elifnmake Oo \&! Oc Ns Ar target Op Ar operator target No ...
+.It Ic .elifnmake \*[maybenot] Ar target Op Ar operator target No ...
 A combination of
 .Sq Ic .else
 followed by



Home | Main Index | Thread Index | Old Index