diff --git a/dist/ntp/ntp-html2mdoc.pl b/dist/ntp/ntp-html2mdoc.pl
index c82beee526f3..50e88002bfae 100755
--- a/dist/ntp/ntp-html2mdoc.pl
+++ b/dist/ntp/ntp-html2mdoc.pl
@@ -121,9 +121,9 @@ while (<>) {
chew("");
chomp($_ .= " " . <>) if (/\1#\n.Xr \1 $sec\n#ig;
- s#(.*?) + *page#\n.%T "$2"\npage in\n.Pa /usr/share/doc/ntp/$1\n#ig;
+ s#(.*?) + *page#\n.%T "$2"\npage in\n.Pa /usr/share/doc/html/ntp/$1\n#ig;
s#^
##g;
- s#(.*?)#For\n.%T "$2"\n, refer to\n.Pa /usr/share/doc/ntp/$1 .\n.Pp\n#ig;
+ s#(.*?)#For\n.%T "$2"\n, refer to\n.Pa /usr/share/doc/html/ntp/$1 .\n.Pp\n#ig;
detag;
}
s#$name#\n.Nm\n#ig;