summaryrefslogtreecommitdiff
path: root/debian
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
parent76993d0add8c9786b29889d190c6bc46532262fd (diff)
[pkg] add man page for soledad-server
Diffstat (limited to 'debian')
-rw-r--r--debian/manpages1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/soledad-server.install1
3 files changed, 4 insertions, 2 deletions
diff --git a/debian/manpages b/debian/manpages
index 42fb695f..22844b37 100644
--- a/debian/manpages
+++ b/debian/manpages
@@ -1 +1,2 @@
docs/man/soledad-create-userdb.1
+docs/man/soledad-server.1
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
diff --git a/debian/soledad-server.install b/debian/soledad-server.install
index bb80e20a..998df1ca 100644
--- a/debian/soledad-server.install
+++ b/debian/soledad-server.install
@@ -1,5 +1,6 @@
debian/python-leap.soledad/usr/bin/soledad-server usr/bin/
pkg/server/soledad-create-userdb usr/bin/
pkg/server/soledad-sudoers etc/sudoers.d/
+pkg/server/soledad-server.conf.default usr/share/doc/soledad-server/
src/leap/soledad/server usr/lib/python2.7/dist-packages/leap/soledad/
scripts/migration usr/share/soledad-server/