diff options
| author | Stefano Brivio <sbrivio@redhat.com> | 2026-01-17 15:36:02 +0100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-01-17 15:36:02 +0100 |
| commit | 81c97f66595f4fab5171ebcb42f43e9f1505b4c4 (patch) | |
| tree | cffd5656e155456f13a144956abbadb401a7c681 | |
| parent | a6d92ca82c9ea0b395aa56c568ee6b6e6d4ac81e (diff) | |
| download | passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar.gz passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar.bz2 passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar.lz passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar.xz passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.tar.zst passt-81c97f66595f4fab5171ebcb42f43e9f1505b4c4.zip | |
hooks/pre-push: Use mandoc(1) to get HTML anchors to command-line optionsHEAD2026_01_17.81c97f6master
It looks like man2html(1) can only build links to sections, not to
TP elements.
Reported-by: Erik Sjölund <erik.sjolund@gmail.com>
Link: https://bugs.passt.top/show_bug.cgi?id=184
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
| -rwxr-xr-x | hooks/pre-push | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
