3 export PYBUILD_NAME=notmuch
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8 dh $@ --with python3,elpa
10 override_dh_auto_configure:
11 BASHCMD=/bin/bash ./configure --prefix=/usr \
12 --libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
13 --includedir=/usr/include \
14 --mandir=/usr/share/man \
15 --infodir=/usr/share/info \
17 --zshcompletiondir=/usr/share/zsh/vendor-completions \
20 override_dh_auto_build:
22 dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python
23 $(MAKE) -C contrib/notmuch-mutt
25 override_dh_auto_clean:
27 dh_auto_clean --buildsystem=pybuild --sourcedirectory bindings/python
28 dh_auto_clean --sourcedirectory bindings/ruby
29 $(MAKE) -C contrib/notmuch-mutt clean
31 override_dh_auto_install:
33 dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python
34 $(MAKE) -C contrib/notmuch-mutt DESTDIR=$(CURDIR)/debian/tmp install
35 dh_auto_install --sourcedirectory bindings/ruby