diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-13 11:16:34 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-11-13 11:16:34 +1300 |
commit | db3ec3ce0b32bda582611d422f5a75ba6db51649 (patch) | |
tree | 71d4cda6b5b285aa1f5bc522e60509ae7e1bfd50 /Makefile | |
parent | Generate gpg.conf from m4 template on make call (diff) | |
download | dotfiles-db3ec3ce0b32bda582611d422f5a75ba6db51649.tar.gz dotfiles-db3ec3ce0b32bda582611d422f5a75ba6db51649.zip |
Pull Vim plugin submodules in separate target
Tidier. Still don't like that I'm doing something network-related in a
Makefile, but it's better than what I had.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -2,6 +2,7 @@ clean \ distclean \ gnupg \ + vim-plugins \ install \ install-bash \ install-bin \ @@ -36,7 +37,7 @@ test-sh \ test-urxvt -all : gnupg +all : gnupg vim-plugins @echo "Run make -n install, and read the output carefully." @echo "If you're happy with what it'll do, then run make install." @@ -50,6 +51,9 @@ 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 + install : install-bash \ install-curl \ install-dircolors \ @@ -165,8 +169,7 @@ install-vim-config : install-gvim-config : install -m 0644 -- vim/gvimrc "$(HOME)"/.gvimrc -install-vim-plugins : install-vim-config - git submodule update --init +install-vim-plugins : vim-plugins install-vim-config install -m 0755 -d -- "$(HOME)"/.vim/bundle cd vim && find bundle -name .git -prune -o \ \( -type d -print \) | \ |