Try cross-referencing our VAX and/or hp300 port's ct(4) manpage:
.Xr ct 4 ^- This does not work, as "ct" is some *roff command. Work around it by adding a non-printing char: .Xr c\&t 4 (for all manpages, just in case and out of laziness)
This commit is contained in:
parent
941ea41c4a
commit
b569c48c16
|
@ -1,6 +1,6 @@
|
|||
#!/usr/pkg/bin/perl
|
||||
#
|
||||
# $NetBSD: MAKEDEV2manpage.pl,v 1.5 2001/04/16 08:08:19 wiz Exp $
|
||||
# $NetBSD: MAKEDEV2manpage.pl,v 1.6 2001/06/26 02:03:08 hubertf Exp $
|
||||
#
|
||||
# Copyright (c) 1999
|
||||
# Hubert Feyrer <hubertf@netbsd.org>. All rights reserved.
|
||||
|
@ -159,7 +159,9 @@ sub do_devices
|
|||
$l .= "$page(4)";
|
||||
}
|
||||
|
||||
while ($l =~ s/\s*(\w+)\((\d)\)(.*)/\n.Xr \1 \2 \3/g){$l =~ s/[ \t]+$//g;}
|
||||
# Add .Xr f\&oo 4 - ampersand to work around manpages that are
|
||||
# *roff commands at the same time
|
||||
while ($l =~ s/\s*(\w)(\w*)\((\d)\)(.*)/\n.Xr \1\\&\2 \3 \4/g){$l =~ s/[ \t]+$//g;}
|
||||
|
||||
print MANPAGE ". It Ar $target\n";
|
||||
print MANPAGE "$l\n";
|
||||
|
|
Loading…
Reference in New Issue