Use groff's ".mso" to find tmac files in /usr/share/tmac, rather than

hardcoding a path.  (This allows these files to be relocated easily.)
This commit is contained in:
tv 2002-01-03 16:30:16 +00:00
parent d3de7d0eb7
commit e53be948f7
2 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: andoc,v 1.4 1998/02/15 00:40:09 thorpej Exp $
.\" $NetBSD: andoc,v 1.5 2002/01/03 16:30:16 tv Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@ -38,15 +38,15 @@
.\"
.de Dd
.rn Dd xX
.so /usr/share/tmac/tmac.doc
.\" XXX the following is groff-specific
.\" XXX the following two are groff-specific
.mso tmac.doc
.Dd \\$@
.rm xX
..
.de TH
.rn TH xX
.so /usr/share/tmac/tmac.an.old
.\" XXX the following is groff-specific
.\" XXX the following two are groff-specific
.mso tmac.an.old
.TH \\$@
.rm xX
..

View File

@ -1,4 +1,4 @@
.\" $NetBSD: doc,v 1.25 2001/06/23 13:09:47 itojun Exp $
.\" $NetBSD: doc,v 1.26 2002/01/03 16:30:16 tv Exp $
.\"
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -74,13 +74,13 @@
. if \n(.g .init C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
.\" warning initializations end
.if t \{\
. so /usr/share/tmac/tmac.doc-ditroff
. mso tmac.doc-ditroff
.\}
.if n \{\
. so /usr/share/tmac/tmac.doc-nroff
. mso tmac.doc-nroff
.\}
.so /usr/share/tmac/tmac.doc-common
.so /usr/share/tmac/tmac.doc-syms
.mso tmac.doc-common
.mso tmac.doc-syms
.\" NS Db macro - start/stop DEBUG MODE
.\" NS Db register DEBUG MODE
.\" NS iN register DEBUG MODE (inline if 1, to stderr if 0 (default))