notmuch/contrib/notmuch-vim/Makefile
David Bremner 6ee07a9c6d 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.
2013-02-16 08:03:09 -04:00

23 lines
603 B
Makefile

.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