aboutgitcodebugslistschat
diff options
context:
space:
mode:
-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"