summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorkali <kali@leap.se>2013-01-30 14:41:00 +0900
committerkali <kali@leap.se>2013-01-30 14:41:00 +0900
commit4c406dcc3ff886713e63b11750fe9b1cbea24441 (patch)
treeb2cd0dcf9f5fd755cb1118cebf66acbf4164668b /debian
parent0a227dc37b3842c213d93e0853682b712dc5e93b (diff)
generate manpage?
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 40671531..198e923f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,12 @@ test-python%:
override_dh_auto_test: $(PYTHON2:%=test-python%) $(PYTHON3:%=test-python%)
endif
+override_dh_preps:
+ # XXX trying to generate the manpage from rst,
+ # but not the right override... :(
+ rst2html docs/man/leap-client.1.rst docs/man/leap-client.1
+ dh_preps
+
#dh_auto_build should be enough to build the python2 version
build-python%:
@@ -56,3 +62,4 @@ override_dh_auto_clean:
rm -rf build
rm -rf docs/_build
rm -rf *.egg-info
+ #rm docs/man/leap.1