]> git.notmuchmail.org Git - notmuch/blobdiff - debian/rules
Revert "debian: Generate version from debian/changelog"
[notmuch] / debian / rules
index 1f6c4bbc01ee0082f8ccd92533c50e2cb0f6b53b..956f3f2cf6ad921c8cb1454d88cb302a5e858613 100755 (executable)
@@ -1,13 +1,19 @@
 #!/usr/bin/make -f
+
 %:
-       dh $@
+       dh --with python2 $@
+
+override_dh_auto_configure:
+       dh_auto_configure -- --emacslispdir=/usr/share/emacs/site-lisp/notmuch
+
+override_dh_auto_build:
+       dh_auto_build
+       dh_auto_build --sourcedirectory bindings/python
 
-override_dh_installdocs:
-       dh_installdocs
-       install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim
+override_dh_auto_clean:
+       dh_auto_clean
+       dh_auto_clean --sourcedirectory bindings/python
 
-override_dh_install:
-       dh_install
-       install -m644 vim/plugin/notmuch.vim debian/notmuch/usr/share/vim/addons/plugin
-       install -m644 vim/syntax/notmuch-*.vim debian/notmuch/usr/share/vim/addons/syntax
-       install -m644 vim/notmuch.yaml debian/notmuch/usr/share/vim/registry
+override_dh_auto_install:
+       dh_auto_install
+       dh_auto_install --sourcedirectory bindings/python