Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/tmac Invert the default of DOC_XR and generate an href...
details: https://anonhg.NetBSD.org/src/rev/4c581c48cffe
branches: trunk
changeset: 521850:4c581c48cffe
user: ross <ross%NetBSD.org@localhost>
date: Thu Feb 07 01:59:14 2002 +0000
description:
Invert the default of DOC_XR and generate an href anchor by default.
Also, assume that any man page called "index.html" will actually be
installed (sigh) as "xindex.html", which is what bsd.man.mk actually
does now.
diffstat:
share/tmac/doc2html | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 5c977773af8a -r 4c581c48cffe share/tmac/doc2html
--- a/share/tmac/doc2html Thu Feb 07 01:56:02 2002 +0000
+++ b/share/tmac/doc2html Thu Feb 07 01:59:14 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: doc2html,v 1.35 2002/02/07 00:59:18 ross Exp $
+.\" $NetBSD: doc2html,v 1.36 2002/02/07 01:59:14 ross Exp $
.\"
.\" Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -121,7 +121,7 @@
..
.
.doc-rlookup DOC_DEBUG_MODE 0
-.doc-rlookup DOC_XR 1
+.doc-rlookup DOC_XR 0
.doc-slookup DOC_MANROOT ..
.
.nr in-pre 0
@@ -982,7 +982,9 @@
. mode-code-off
. \}
. el \{\
-. as doc-pcresult <a href="\\*[DOC_MANROOT]/html\\$2/m_\\$1.html">
+. ds Xr-tmp \\$1
+. if \\*[Xr-tmp]index .ds Xr-tmp xindex
+. as doc-pcresult <a href="\\*[DOC_MANROOT]/html\\$2/\\$1.html">
. ie \\w\\$2=0 .as doc-pcresult \\$1
. el .as doc-pcresult \\$1(\\$2)
. as doc-pcresult </a>
Home |
Main Index |
Thread Index |
Old Index