From 11f03c87a205ffa99ff5e7b301b03bf996a8d562 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Wed, 26 Jan 2022 09:30:46 -0400 Subject: [PATCH] debian: package HTML docs This is particularly useful for the docs for the notmuch2 python bindings, which are otherwise not packaged. --- debian/control | 18 +++++++++++++++++- debian/rules | 4 ++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index 9872d602..a11d4130 100644 --- a/debian/control +++ b/debian/control @@ -56,7 +56,8 @@ Recommends: gnupg-agent, gpgsm, Suggests: - mailscripts + mailscripts, + notmuch-doc, Description: thread-based email index, search and tagging Notmuch is a system for indexing, searching, reading, and tagging large collections of email messages in maildir or mh format. It uses @@ -65,6 +66,21 @@ Description: thread-based email index, search and tagging . This package contains the notmuch command-line interface +Package: notmuch-doc +Architecture: all +Depends: + ${misc:Depends}, + ${sphinxdoc:Depends}, +Suggests: + notmuch +Description: thread-based email index, search and tagging + Notmuch is a system for indexing, searching, reading, and tagging + large collections of email messages in maildir or mh format. It uses + the Xapian library to provide fast, full-text search with a very + convenient search syntax. + . + This package contains the HTML documentation + Package: libnotmuch5 Section: libs Architecture: any 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 -- 2.43.0