Teach makewhatis(1) about mdoc(7) .Xr macro.
% whatis finger.conf finger.conf(5) - finger 1 alias configuration file % whatis finger.conf finger.conf(5) - finger(1) alias configuration file Reviewed by: MAINTAINER timeout
This commit is contained in:
parent
edf518377f
commit
8c03b77cd5
@ -370,9 +370,15 @@ sub manual {
|
||||
} else {
|
||||
$list .= '- ' if (!$flag && !/^- /);
|
||||
$flag++;
|
||||
s/^\.[A-Z][a-z][ \t]*//;
|
||||
s/[ \t]+$//;
|
||||
$list .= $_;
|
||||
if (/^\.Xr/) {
|
||||
split;
|
||||
$list .= @_[1];
|
||||
$list .= "(@_[2])" if @_[2];
|
||||
} else {
|
||||
s/^\.[A-Z][a-z][ \t]*//;
|
||||
s/[ \t]+$//;
|
||||
$list .= $_;
|
||||
}
|
||||
$list .= ' ';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user