3 python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}
6 dh $@ --with python2,python3
8 override_dh_auto_configure:
9 dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
11 override_dh_auto_build:
13 dh_auto_build --sourcedirectory bindings/python
14 cd bindings/python && $(python3_all) setup.py build
15 $(MAKE) -C contrib/notmuch-mutt
17 override_dh_auto_clean:
19 dh_auto_clean --sourcedirectory bindings/python
20 cd bindings/python && $(python3_all) setup.py clean -a
21 $(MAKE) -C contrib/notmuch-mutt clean
23 override_dh_auto_install:
25 dh_auto_install --sourcedirectory bindings/python
26 cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp