summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2017-11-13 19:55:30 -0200
committerdrebs <drebs@riseup.net>2017-11-14 08:11:29 -0200
commitfb47c43f9b869fb65ef0574fcfb5ce042860a5ee (patch)
treee91db9effc3e88fc7c3bb493459f85b5a4f6444c /debian/rules
parent76993d0add8c9786b29889d190c6bc46532262fd (diff)
[pkg] add man page for soledad-server
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index e78a8c31..ee6e33e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ NAME=soledad-server
dh $@ --with python2 --namespace=leap.soledad --buildsystem=pybuild --with=systemd
override_dh_prep:
- rst2man docs/man/soledad-create-userdb.1.rst docs/man/soledad-create-userdb.1
+ (cd ./docs/man; for src in *.rst; do tgt=$$(basename $${src} .rst); rst2man $${src} $${tgt}; done)
dh_prep
override_dh_installinit:
@@ -25,4 +25,4 @@ override_dh_auto_clean:
dh_auto_clean
find . -name "*.pyc" -exec rm -rf {} \;
find . -name ".tox" -exec rm -rf {} \;
- rm -f docs/man/soledad-create-userdb.1
+ rm -f docs/man/*.1