From 81c97f66595f4fab5171ebcb42f43e9f1505b4c4 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 17 Jan 2026 15:36:02 +0100 Subject: hooks/pre-push: Use mandoc(1) to get HTML anchors to command-line options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It looks like man2html(1) can only build links to sections, not to TP elements. Reported-by: Erik Sjölund Link: https://bugs.passt.top/show_bug.cgi?id=184 Signed-off-by: Stefano Brivio --- hooks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/pre-push b/hooks/pre-push index 8dbfa5f..839b310 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -62,7 +62,7 @@ ssh "${USER_HOST}" "rm -f ${BIN}/*.deb" ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm" scp *.deb *.rpm "${USER_HOST}:${BIN}/" -man2html -M "/" passt.1 > passt.1.html +mandoc -Thtml passt.1 > passt.1.html scp passt.1.html "${USER_HOST}:${WEB}/" for pic in passt_overview pasta_overview; do -- cgit v1.2.3