aboutgitcodebugslistschat
path: root/hooks
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 /hooks
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>
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-push3
1 files changed, 3 insertions, 0 deletions
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"