]> git.cworth.org Git - notmuch/commitdiff
Install vim plugin with vim-addons
authormartin f. krafft <madduck@debian.org>
Thu, 21 Jan 2010 01:58:19 +0000 (14:58 +1300)
committermartin f. krafft <madduck@debian.org>
Thu, 21 Jan 2010 01:58:19 +0000 (14:58 +1300)
Signed-off-by: martin f. krafft <madduck@debian.org>
debian/README.Debian [new file with mode: 0644]
debian/changelog
debian/notmuch.dirs
debian/rules
vim/notmuch.yaml [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..f07b499
--- /dev/null
@@ -0,0 +1,6 @@
+notmuch for Debian
+==================
+
+To use the vim plugin, please install it using vim-addons(1)
+
+ -- martin f. krafft <madduck@debian.org>  Thu, 21 Jan 2010 14:50:19 +1300
index 43a7355f6f53257c1bb2898767680081ec6d9e31..d95f673a6c4a84ffc1f6b134e85bfeed7d816ec8 100644 (file)
@@ -9,6 +9,7 @@ notmuch (0.0+201001211401) unstable; urgency=low
   * Put debian/* under separate copyright.
   * Make Carl the maintainer.
   * Add myself to uploaders.
+  * Install the vim plugin (using vim-addons).
 
  -- martin f. krafft <madduck@debian.org>  Thu, 21 Jan 2010 14:00:54 +1300
 
index caa416097ff1d4d86ef8bbfe90bdacd841ecd643..ce7f2393424738c6b334e55873ee31682abd5fe3 100644 (file)
@@ -1,3 +1,6 @@
 usr/bin
 usr/share/emacs/site-lisp/notmuch
+usr/share/vim/registry
+usr/share/vim/addons/plugin
+usr/share/vim/addons/syntax
 etc/bash_completion.d
index cbe925d7587131c8ec8761915930894c60c096fd..1f6c4bbc01ee0082f8ccd92533c50e2cb0f6b53b 100755 (executable)
@@ -1,3 +1,13 @@
 #!/usr/bin/make -f
 %:
        dh $@
+
+override_dh_installdocs:
+       dh_installdocs
+       install -m644 vim/README debian/notmuch/usr/share/doc/notmuch/README.vim
+
+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
diff --git a/vim/notmuch.yaml b/vim/notmuch.yaml
new file mode 100644 (file)
index 0000000..3d8422c
--- /dev/null
@@ -0,0 +1,8 @@
+addon: notmuch
+description: "notmuch mail user interface"
+files:
+  - plugin/notmuch.vim
+  - syntax/notmuch-compose.vim
+  - syntax/notmuch-folders.vim
+  - syntax/notmuch-search.vim
+  - syntax/notmuch-show.vim