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 markup



details:   https://anonhg.NetBSD.org/src/rev/da94fa58d43e
branches:  trunk
changeset: 368457:da94fa58d43e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Jul 12 22:51:12 2022 +0000

description:
make.1: fix markup

Not all square brackets are options, some are wildcards.

diffstat:

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

diffs (47 lines):

diff -r 4aeb06ec4105 -r da94fa58d43e usr.bin/make/make.1
--- a/usr.bin/make/make.1       Tue Jul 12 22:45:05 2022 +0000
+++ b/usr.bin/make/make.1       Tue Jul 12 22:51:12 2022 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: make.1,v 1.311 2022/07/12 22:45:05 rillig Exp $
+.\"    $NetBSD: make.1,v 1.312 2022/07/12 22:51:12 rillig Exp $
 .\"
 .\" Copyright (c) 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -583,7 +583,7 @@
 Variables in make behave much like macros in the C preprocessor.
 .Pp
 Variable assignments have the form
-.Sq Ar NAME No Ar op No Ar value ,
+.Sq Ar NAME Ar op Ar value ,
 where:
 .Bl -tag -width Ds
 .It Ar NAME
@@ -1176,8 +1176,8 @@
 .Sq Pa Makefiles
 are being parsed.
 If you want to retain their current values, assign them to a variable
-using assignment with expansion:
-.Pq Ql Cm \&:= .
+using assignment with expansion
+.Sq Cm \&:= .
 .It Va .PATH
 A variable that represents the list of directories that
 .Nm
@@ -1269,7 +1269,7 @@
 .Pf ( Ql * ,
 .Ql \&? ,
 and
-.Ql Oo Oc )
+.Ql \&[] )
 may
 be used.
 The wildcard characters may be escaped with a backslash
@@ -1306,7 +1306,7 @@
 Shuffles the words in variable.
 The results will be different each time you are referring to the
 modified variable; use the assignment with expansion
-.Pq Ql Cm \&:=
+.Sq Cm \&:=
 to prevent such behavior.
 For example,
 .Bd -literal -offset indent



Home | Main Index | Thread Index | Old Index