From 39a353127024401bdc4ca79b768a6627078736ad Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 19 Feb 2022 04:47:18 +0100 Subject: README, hooks: Build HTML man page on push, add a link Signed-off-by: Stefano Brivio --- README.md | 2 ++ hooks/pre-push | 3 +++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 1c8baf3..51cc870 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,8 @@ for TCP and UDP, respectively. - [Contribute](#contribute) - [Security and Vulnerability Reports](#security-and-vulnerability-reports) +See also the [man page](/builds/latest/web/passt.1.html). + ## Motivation ### passt diff --git a/hooks/pre-push b/hooks/pre-push index a5e4790..0498b0a 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -45,6 +45,9 @@ cd .. make static scp passt pasta qrap passt.1 pasta.1 qrap.1 "${USER_HOST}:${BIN}" +man2html -M "/" passt.1 > passt.1.html +scp passt.1.html "${USER_HOST}:${WEB}/" + make pkgs ssh "${USER_HOST}" "rm -f ${BIN}/*.deb" ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm" -- cgit v1.2.3