aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/notmuch-vim/Makefile
diff options
context:
space:
mode:
authorGravatar David Bremner <bremner@debian.org>2013-02-16 08:03:09 -0400
committerGravatar David Bremner <bremner@debian.org>2013-02-16 08:03:09 -0400
commit6ee07a9c6db59e91852f2fe47a2701f5e08fee21 (patch)
tree8c802dbc03b6bb5e2aef9d19197377b501b6d32d /contrib/notmuch-vim/Makefile
parent41a29a84721235e33aff23bf6ef61b9ffdded2ef (diff)
notmuch-vim: deprecate, move to contrib
As discussed in id:871udhcmks.fsf@zancas.localnet, notmuch-vim doesn't really meet the standards of the CLI, emacs interface, or python bindings in terms of being well maintained.
Diffstat (limited to 'contrib/notmuch-vim/Makefile')
-rw-r--r--contrib/notmuch-vim/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/contrib/notmuch-vim/Makefile b/contrib/notmuch-vim/Makefile
new file mode 100644
index 00000000..f17bebfe
--- /dev/null
+++ b/contrib/notmuch-vim/Makefile
@@ -0,0 +1,23 @@
+.PHONY: all help install link symlink
+
+files = plugin/notmuch.vim \
+ $(wildcard syntax/notmuch-*.vim)
+prefix = $(HOME)/.vim
+destdir = $(prefix)/plugin
+
+INSTALL = install -D -m644
+
+all: help
+
+help:
+ @echo "I don't actually build anything, but I will help you install"
+ @echo "notmuch support for vim."
+ @echo
+ @echo " make install - copy plugin scripts and syntax files to ~/.vim"
+ @echo " make symlink - create symlinks in ~/.vim (useful for development)"
+
+install:
+ @for x in $(files); do $(INSTALL) $(CURDIR)/$$x $(prefix)/$$x; done
+
+link symlink: INSTALL = ln -fs
+link symlink: install