X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=debian%2Frules;h=7a19445e93a2a3f1882c4f339bc525643fa2b126;hp=8e303538a541feda90cadc33223bf7ef7065a55e;hb=ef8151c8e256db62e97189f02b50e94788cdb16b;hpb=ae773ad6aa4a3c8c3b3bf1905f86b1b195875895 diff --git a/debian/rules b/debian/rules index 8e303538..7a19445e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,21 +1,32 @@ #!/usr/bin/make -f +python3_all = py3versions -s | xargs -n1 | xargs -t -I {} env {} + %: - dh $@ --with python2 + dh $@ --with python2,python3 override_dh_auto_configure: dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch override_dh_auto_build: - dh_auto_build + dh_auto_build -- V=1 dh_auto_build --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py build + cd bindings/ruby && ruby extconf.rb --vendor && make $(MAKE) -C contrib/notmuch-mutt override_dh_auto_clean: dh_auto_clean dh_auto_clean --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py clean -a + dh_auto_clean --sourcedirectory bindings/ruby $(MAKE) -C contrib/notmuch-mutt clean override_dh_auto_install: dh_auto_install dh_auto_install --sourcedirectory bindings/python + cd bindings/python && $(python3_all) setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp + dh_auto_install --sourcedirectory bindings/ruby + +override_dh_strip: + dh_strip --dbg-package notmuch-dbg