Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/notes/common Don't repeat the TOC file name, define ...
details: https://anonhg.NetBSD.org/src/rev/5138d6c686b3
branches: trunk
changeset: 465550:5138d6c686b3
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Nov 27 23:57:41 2019 +0000
description:
Don't repeat the TOC file name, define a string.
diffstat:
distrib/notes/common/macros | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 2228a9626f56 -r 5138d6c686b3 distrib/notes/common/macros
--- a/distrib/notes/common/macros Wed Nov 27 23:53:01 2019 +0000
+++ b/distrib/notes/common/macros Wed Nov 27 23:57:41 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: macros,v 1.47 2019/11/27 23:53:01 uwe Exp $
+.\" $NetBSD: macros,v 1.48 2019/11/27 23:57:41 uwe Exp $
.\"
.\" Copyright (c) 1999-2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -309,6 +309,7 @@
.\" XXX To should be unnecessary if we handle parseable/callable.
.\" .Tc import the TOC
.\" .Ti depth page "item" (internal) output an entry
+.ds toc-file INSTALL.\*[format].toc
.if dTOC \{\
.de mktoc
.nr mktoc-level \\$1
@@ -348,10 +349,10 @@
.de Tc
.Bd -literal
.ta (\n(.lu)R
-\.tm ...reading INSTALL.\*[format].toc
+.tm ...reading \*[toc-file]
. Pp
-.\" Use so-real here because otherwise we lose on objdirs
-\.so-real INSTALL.\*[format].toc
+.\" Use so-real here because toc-file is in objdir not .CURDIR
+.so-real \*[toc-file]
.Ed
..
.
Home |
Main Index |
Thread Index |
Old Index