diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-23 13:56:11 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-03-23 13:56:11 +1300 |
commit | 05a1b1c2b5cfcf363b6070bbb59652779f9db54b (patch) | |
tree | ee4c8554d2339d3e6b86e7bf129adae0c80249f9 /Makefile | |
parent | Force removal of submodules (diff) | |
download | dotfiles-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-- | Makefile | 22 |
1 files changed, 20 insertions, 2 deletions
@@ -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 \ |