aboutgitcodebugslistschat
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2022-02-19 04:47:18 +0100
committerStefano Brivio <sbrivio@redhat.com>2022-02-21 13:41:13 +0100
commit39a353127024401bdc4ca79b768a6627078736ad (patch)
tree5441b9f0eaa8267c8776b9b7a1e32472c162a032
parentd634c498c3cfbccefc7c97780bddd2d0121db866 (diff)
downloadpasst-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.md2
-rwxr-xr-xhooks/pre-push3
2 files changed, 5 insertions, 0 deletions
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"