Module Name:    src
Committed By:   uwe
Date:           Thu Sep 15 14:49:37 UTC 2022

Modified Files:
        src/usr.bin/make: make.1

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


To generate a diff of this commit:
cvs rdiff -u -r1.346 -r1.347 src/usr.bin/make/make.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/make.1
diff -u src/usr.bin/make/make.1:1.346 src/usr.bin/make/make.1:1.347
--- src/usr.bin/make/make.1:1.346	Thu Sep 15 14:39:33 2022
+++ src/usr.bin/make/make.1	Thu Sep 15 14:49:36 2022
@@ -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 @@ exits immediately.
 .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

Reply via email to