diff options
| author | Carl Worth <cworth@cworth.org> | 2009-11-27 17:32:50 -0800 |
|---|---|---|
| committer | Carl Worth <cworth@cworth.org> | 2009-11-27 17:32:50 -0800 |
| commit | c835e2a5059ebc10580f8ae2a79c4f0f81374798 (patch) | |
| tree | 936b9414363129c63b42bf7f16048623b693f7a9 /vim/Makefile | |
| parent | 5c7c6c0baefaf63d2b79c014b85c391a66261feb (diff) | |
| parent | e6628e78d9ce3f9383a4699df9063a648617b428 (diff) | |
Merge remote branch 'jukie/vim'
Diffstat (limited to 'vim/Makefile')
| -rw-r--r-- | vim/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vim/Makefile b/vim/Makefile new file mode 100644 index 00000000..89e18be1 --- /dev/null +++ b/vim/Makefile @@ -0,0 +1,24 @@ +.PHONY: all help install link symlink + +FILES = plugin/notmuch.vim \ + $(wildcard syntax/notmuch-*.vim) + +PREFIX = $(shell ls -d ~/.vim/) + +OUT_FILES = $(FILES:%=${PREFIX}/%) + +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: ${OUT_FILES} +link symlink: + ${MAKE} SYMLINK=1 install + +${OUT_FILES}: ${PREFIX}/%: % + $(if ${SYMLINK},ln -fs,cp) `pwd`/$< $@ |
