2009-11-29 00:30:43 +01:00
|
|
|
#!/usr/bin/make -f
|
2010-04-16 17:49:09 +02:00
|
|
|
|
2013-01-16 13:17:19 +01:00
|
|
|
python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {}
|
|
|
|
|
2009-11-29 00:30:43 +01:00
|
|
|
%:
|
2016-11-11 12:46:51 +01:00
|
|
|
dh $@ --with python2,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
|
2011-06-19 20:09:46 +02:00
|
|
|
dh_auto_build --sourcedirectory bindings/python
|
2013-01-16 13:17:19 +01:00
|
|
|
cd bindings/python && $(python3_all) setup.py build
|
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
|
2011-06-19 20:09:46 +02:00
|
|
|
dh_auto_clean --sourcedirectory bindings/python
|
2013-01-16 13:17:19 +01:00
|
|
|
cd bindings/python && $(python3_all) setup.py clean -a
|
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
|
|
|
|
dh_auto_install --sourcedirectory bindings/python
|
2013-01-16 13:17:19 +01:00
|
|
|
cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp
|
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
|