]> git.notmuchmail.org Git - notmuch/blobdiff - vim/Makefile
Add new notmuch vim plugin
[notmuch] / vim / Makefile
diff --git a/vim/Makefile b/vim/Makefile
new file mode 100644 (file)
index 0000000..bb3ec60
--- /dev/null
@@ -0,0 +1,14 @@
+prefix = $(HOME)/.vim
+
+INSTALL = install -v -D -m644
+D = $(DESTDIR)
+
+all:
+       @echo "Nothing to build"
+
+install:
+       $(INSTALL) $(CURDIR)/notmuch.vim $(D)$(prefix)/plugin/notmuch.vim
+       @$(foreach file,$(wildcard syntax/*), \
+               $(INSTALL) $(CURDIR)/$(file) $(D)$(prefix)/$(file);)
+
+.PHONY: all install