diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-02-19 04:47:18 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-02-21 13:41:13 +0100 |
commit | 39a353127024401bdc4ca79b768a6627078736ad (patch) | |
tree | 5441b9f0eaa8267c8776b9b7a1e32472c162a032 | |
parent | d634c498c3cfbccefc7c97780bddd2d0121db866 (diff) | |
download | passt-39a353127024401bdc4ca79b768a6627078736ad.tar passt-39a353127024401bdc4ca79b768a6627078736ad.tar.gz passt-39a353127024401bdc4ca79b768a6627078736ad.tar.bz2 passt-39a353127024401bdc4ca79b768a6627078736ad.tar.lz passt-39a353127024401bdc4ca79b768a6627078736ad.tar.xz passt-39a353127024401bdc4ca79b768a6627078736ad.tar.zst passt-39a353127024401bdc4ca79b768a6627078736ad.zip |
README, hooks: Build HTML man page on push, add a link
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | hooks/pre-push | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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" |