Module Name:    src
Committed By:   uwe
Date:           Wed Nov 27 23:57:41 UTC 2019

Modified Files:
        src/distrib/notes/common: macros

Log Message:
Don't repeat the TOC file name, define a string.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/distrib/notes/common/macros

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

Modified files:

Index: src/distrib/notes/common/macros
diff -u src/distrib/notes/common/macros:1.47 src/distrib/notes/common/macros:1.48
--- src/distrib/notes/common/macros:1.47	Wed Nov 27 23:53:01 2019
+++ src/distrib/notes/common/macros	Wed Nov 27 23:57:41 2019
@@ -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
 ..
 .

Reply via email to