From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 16/18] README, hooks: Build HTML man page on push, add a link Date: Tue, 22 Feb 2022 02:34:32 +0100 Message-ID: <20220222013434.4116044-17-sbrivio@redhat.com> In-Reply-To: <20220222013434.4116044-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4941744252210020811==" --===============4941744252210020811== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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" -- 2.34.1 --===============4941744252210020811==--