aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-03-23 13:56:11 +1300
committerTom Ryder <tom@sanctum.geek.nz>2015-03-23 13:56:11 +1300
commit05a1b1c2b5cfcf363b6070bbb59652779f9db54b (patch)
treeee4c8554d2339d3e6b86e7bf129adae0c80249f9 /Makefile
parentForce removal of submodules (diff)
downloaddotfiles-05a1b1c2b5cfcf363b6070bbb59652779f9db54b.tar.gz
dotfiles-05a1b1c2b5cfcf363b6070bbb59652779f9db54b.zip
Do per-target init of Vim plugin submodules
I am pretty sure the $(@D) bit is POSIX compliant
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 20 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e5948f3e..7d9ec0db 100644
--- a/Makefile
+++ b/Makefile
@@ -51,8 +51,26 @@ gnupg : gnupg/gpg.conf
gnupg/gpg.conf :
m4 -D DOTFILES_HOME="$(HOME)" gnupg/gpg.conf.m4 > gnupg/gpg.conf
-vim-plugins :
- git submodule update --init
+vim-plugins : vim/bundle/abolish/.git \
+ vim/bundle/argumentative/.git \
+ vim/bundle/commentary/.git \
+ vim/bundle/ctrlp/.git \
+ vim/bundle/exchange/.git \
+ vim/bundle/html5/.git \
+ vim/bundle/lion/.git \
+ vim/bundle/nagios/.git \
+ vim/bundle/pathogen/.git \
+ vim/bundle/repeat/.git \
+ vim/bundle/sahara/.git \
+ vim/bundle/surround/.git \
+ vim/bundle/tmux/.git \
+ vim/bundle/twig/.git \
+ vim/bundle/undotree/.git \
+ vim/bundle/unimpaired/.git \
+ vim/bundle/vimperator/.git
+
+%/.git : .gitmodules
+ git submodule update --init "$(@D)"
install : install-bash \
install-curl \