README, hooks: Build HTML man page on push, add a link

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-02-19 04:47:18 +01:00
parent d634c498c3
commit 39a3531270
2 changed files with 5 additions and 0 deletions

View file

@ -128,6 +128,8 @@ for TCP and UDP, respectively.
- [Contribute](#contribute) - [Contribute](#contribute)
- [Security and Vulnerability Reports](#security-and-vulnerability-reports) - [Security and Vulnerability Reports](#security-and-vulnerability-reports)
See also the [man page](/builds/latest/web/passt.1.html).
## Motivation ## Motivation
### passt ### passt

View file

@ -45,6 +45,9 @@ cd ..
make static make static
scp passt pasta qrap passt.1 pasta.1 qrap.1 "${USER_HOST}:${BIN}" 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 make pkgs
ssh "${USER_HOST}" "rm -f ${BIN}/*.deb" ssh "${USER_HOST}" "rm -f ${BIN}/*.deb"
ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm" ssh "${USER_HOST}" "rm -f ${BIN}/*.rpm"