Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Fix usage of angle-brackets and quotes in make(...
details: https://anonhg.NetBSD.org/src/rev/010930b2abae
branches: trunk
changeset: 848621:010930b2abae
user: kamil <kamil%NetBSD.org@localhost>
date: Mon Feb 03 15:47:03 2020 +0000
description:
Fix usage of angle-brackets and quotes in make(1) manpage
make(1) has commands .include <file> and .include "file",
but the manpage was (inconsistently) rendering <file> with
angle-brackets (e.g. in UTF8 ) and "file" with curly-quotes
in HTML output (but not text).
This is an attempt to fix that and output only literal <file>
and "file" as is actually required in the makefile.fileoutput,
https://reviews.freebsd.org/D21470
Submitted by Mateusz Piotrowski (FreeBSD)
diffstat:
usr.bin/make/make.1 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r a7477fa54edb -r 010930b2abae usr.bin/make/make.1
--- a/usr.bin/make/make.1 Mon Feb 03 13:58:05 2020 +0000
+++ b/usr.bin/make/make.1 Mon Feb 03 15:47:03 2020 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: make.1,v 1.276 2019/12/19 07:14:07 maxv Exp $
+.\" $NetBSD: make.1,v 1.277 2020/02/03 15:47:03 kamil Exp $
.\"
.\" Copyright (c) 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -272,7 +272,7 @@
.It Fl m Ar directory
Specify a directory in which to search for sys.mk and makefiles included
via the
-.Ao Ar file Ac Ns -style
+.Pf < Ar file Ns > Ns -style
include statement.
The
.Fl m
@@ -280,7 +280,7 @@
This path will override the default system include path: /usr/share/mk.
Furthermore the system include path will be appended to the search path used
for
-.Qo Ar file Qc Ns -style
+.Pf \*q Ar file Ns \*q Ns -style
include statements (see the
.Fl I
option).
@@ -1622,7 +1622,7 @@
.Pq Ql \&.
character.
Files are included with either
-.Cm \&.include Aq Ar file
+.Cm \&.include Pf < Ar file Ns >
or
.Cm \&.include Pf \*q Ar file Ns \*q .
Variables between the angle brackets or double quotes are expanded
Home |
Main Index |
Thread Index |
Old Index