aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-03-25 17:35:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-03-25 17:35:08 +1300
commitd2d6f8c2fde47cf828f57a4a9628451bf28dda72 (patch)
treea88c7482aaf930a77e128c57f2b64545fa7c2c32 /Makefile
parentMissed a phony build target (diff)
downloaddotfiles-d2d6f8c2fde47cf828f57a4a9628451bf28dda72.tar.gz
dotfiles-d2d6f8c2fde47cf828f57a4a9628451bf28dda72.zip
Improved syntax for the Vim plugin targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile38
1 files changed, 4 insertions, 34 deletions
diff --git a/Makefile b/Makefile
index 176b1138..8e927dcf 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@ gnupg/gpg.conf :
vim : vim-plugins
-vim-plugins : vim/bundle/abolish/.git \
+VIM_PLUGINS = vim/bundle/abolish/.git \
vim/bundle/argumentative/.git \
vim/bundle/commentary/.git \
vim/bundle/ctrlp/.git \
@@ -72,39 +72,9 @@ vim-plugins : vim/bundle/abolish/.git \
vim/bundle/unimpaired/.git \
vim/bundle/vimperator/.git
-vim/bundle/abolish/.git :
- git submodule update --init "$(@D)"
-vim/bundle/argumentative/.git :
- git submodule update --init "$(@D)"
-vim/bundle/commentary/.git :
- git submodule update --init "$(@D)"
-vim/bundle/ctrlp/.git :
- git submodule update --init "$(@D)"
-vim/bundle/exchange/.git :
- git submodule update --init "$(@D)"
-vim/bundle/html5/.git :
- git submodule update --init "$(@D)"
-vim/bundle/lion/.git :
- git submodule update --init "$(@D)"
-vim/bundle/nagios/.git :
- git submodule update --init "$(@D)"
-vim/bundle/pathogen/.git :
- git submodule update --init "$(@D)"
-vim/bundle/repeat/.git :
- git submodule update --init "$(@D)"
-vim/bundle/sahara/.git :
- git submodule update --init "$(@D)"
-vim/bundle/surround/.git :
- git submodule update --init "$(@D)"
-vim/bundle/tmux/.git :
- git submodule update --init "$(@D)"
-vim/bundle/twig/.git :
- git submodule update --init "$(@D)"
-vim/bundle/undotree/.git :
- git submodule update --init "$(@D)"
-vim/bundle/unimpaired/.git :
- git submodule update --init "$(@D)"
-vim/bundle/vimperator/.git :
+vim-plugins : $(VIM_PLUGINS)
+
+$(VIM_PLUGINS) :
git submodule update --init "$(@D)"
install : install-bash \