X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=debian%2Frules;h=71a5602844a46dd45ed1fed1c5cd51975e472883;hb=92c0591db92963fec03f48608404a120af72dccc;hp=956f3f2cf6ad921c8cb1454d88cb302a5e858613;hpb=68e8560b0962cab812d78db83d33ce7fe730cb41;p=notmuch diff --git a/debian/rules b/debian/rules index 956f3f2c..71a56028 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,9 @@ #!/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 @@ -9,11 +11,19 @@ override_dh_auto_configure: override_dh_auto_build: dh_auto_build 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