From db3ec3ce0b32bda582611d422f5a75ba6db51649 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 13 Nov 2014 11:16:34 +1300 Subject: 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. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3524a6a0..68e17a4d 100644 --- a/Makefile +++ b/Makefile @@ -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 \) | \ -- cgit v1.2.3