2009-11-29 00:30:43 +01:00
|
|
|
#!/usr/bin/make -f
|
2010-04-16 17:49:09 +02:00
|
|
|
|
2019-06-10 03:35:03 +02:00
|
|
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
|
|
|
|
2009-11-29 00:30:43 +01:00
|
|
|
%:
|
2019-11-02 21:33:20 +01:00
|
|
|
dh $@ --with python3,elpa
|
2010-01-21 02:58:19 +01:00
|
|
|
|
2010-04-07 19:07:23 +02:00
|
|
|
override_dh_auto_configure:
|
2019-01-17 03:11:32 +01:00
|
|
|
BASHCMD=/bin/bash ./configure --prefix=/usr \
|
2015-05-04 09:43:52 +02:00
|
|
|
--libdir=/usr/lib/$$(dpkg-architecture -q DEB_TARGET_MULTIARCH) \
|
|
|
|
--includedir=/usr/include \
|
|
|
|
--mandir=/usr/share/man \
|
|
|
|
--infodir=/usr/share/info \
|
|
|
|
--sysconfdir=/etc \
|
2018-09-18 13:19:24 +02:00
|
|
|
--zshcompletiondir=/usr/share/zsh/vendor-completions \
|
2016-12-23 00:34:30 +01:00
|
|
|
--localstatedir=/var
|
2010-04-07 19:07:23 +02:00
|
|
|
|
2011-06-19 20:09:46 +02:00
|
|
|
override_dh_auto_build:
|
2013-05-26 03:28:11 +02:00
|
|
|
dh_auto_build -- V=1
|
2019-12-23 23:17:22 +01:00
|
|
|
PYBUILD_NAME=notmuch dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python
|
|
|
|
PYBUILD_NAME=notmuch2 dh_auto_build --buildsystem=pybuild --sourcedirectory bindings/python-cffi
|
2012-03-26 10:51:44 +02:00
|
|
|
$(MAKE) -C contrib/notmuch-mutt
|
2011-06-19 20:09:46 +02:00
|
|
|
|
2011-06-21 14:03:19 +02:00
|
|
|
override_dh_auto_clean:
|
|
|
|
dh_auto_clean
|
2019-12-23 23:17:22 +01:00
|
|
|
PYBUILD_NAME=notmuch dh_auto_clean --buildsystem=pybuild --sourcedirectory bindings/python
|
|
|
|
PYBUILD_NAME=notmuch2 dh_auto_clean --buildsystem=pybuild --sourcedirectory bindings/python-cffi
|
2013-04-16 21:08:39 +02:00
|
|
|
dh_auto_clean --sourcedirectory bindings/ruby
|
2012-03-26 10:51:44 +02:00
|
|
|
$(MAKE) -C contrib/notmuch-mutt clean
|
2011-06-19 20:09:46 +02:00
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install
|
2019-12-23 23:17:22 +01:00
|
|
|
PYBUILD_NAME=notmuch dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python
|
|
|
|
PYBUILD_NAME=notmuch2 dh_auto_install --buildsystem=pybuild --sourcedirectory bindings/python-cffi
|
2018-09-16 19:08:09 +02:00
|
|
|
$(MAKE) -C contrib/notmuch-mutt DESTDIR=$(CURDIR)/debian/tmp install
|
2013-04-16 21:08:39 +02:00
|
|
|
dh_auto_install --sourcedirectory bindings/ruby
|