dh defaults for dh_auto_configure are now incompatible with notmuch's
homebrew configure script (at least in debian experimental)
dh $@ --with python2,python3
override_dh_auto_configure:
- dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
+ --includedir=/usr/include \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --emacslispdir=/usr/share/emacs/site-lisp/notmuch
override_dh_auto_build:
dh_auto_build -- V=1