aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-01-26 09:30:46 -0400
committerDavid Bremner <david@tethera.net>2022-01-29 16:45:07 -0400
commit11f03c87a205ffa99ff5e7b301b03bf996a8d562 (patch)
tree269c9fae6c82f9cd9c477008d2d6bfff45f7cfad /debian/rules
parent5c183d814b2cb3155cb8eec1c8ab44868ff75d30 (diff)
debian: package HTML docs
This is particularly useful for the docs for the notmuch2 python bindings, which are otherwise not packaged.
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 fa0551a9..55867126 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
- dh $@ --with python3,elpa
+ dh $@ --with python3,elpa,sphinxdoc
override_dh_auto_configure:
BASHCMD=/bin/bash ./configure --prefix=/usr \
@@ -19,7 +19,7 @@ override_dh_auto_test:
dh_auto_test -- V=1
override_dh_auto_build:
- dh_auto_build -- V=1
+ dh_auto_build -- V=1 all sphinx-html
PYBUILD_NAME=notmuch dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python
PYBUILD_NAME=notmuch2 dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python-cffi
$(MAKE) -C contrib/notmuch-mutt