aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-11-13 11:16:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-11-13 11:16:34 +1300
commitdb3ec3ce0b32bda582611d422f5a75ba6db51649 (patch)
tree71d4cda6b5b285aa1f5bc522e60509ae7e1bfd50 /Makefile
parentGenerate gpg.conf from m4 template on make call (diff)
downloaddotfiles-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--Makefile9
1 files changed, 6 insertions, 3 deletions
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 \) | \