From b8445846cec05347d76ed9d902aa7eab8e1b7a71 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 13 Aug 2015 15:34:30 +0200 Subject: [PATCH] * tools/man2html.pl: Fix interlinking of man pages. --- tools/man2html.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/man2html.pl b/tools/man2html.pl index 176690d50..67ec74b1a 100755 --- a/tools/man2html.pl +++ b/tools/man2html.pl @@ -57,7 +57,7 @@ while (my $file = readdir(DIR)) $html =~ s|

([^<>]*?:)\s*

|

$1

|smg; $html =~ s@@
UP | HOME
@; $html =~ s{([\w-]+)\((\d+)\)}{ - (-f "$1.$2") ? "$1($2)" : $&; + (-f "$dir/$1.$2") ? "$1($2)" : $&; }xge; open(FILE, ">$ofile") or die $!; print FILE $html;