From d2d6f8c2fde47cf828f57a4a9628451bf28dda72 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 25 Mar 2015 17:35:08 +1300 Subject: Improved syntax for the Vim plugin targets --- Makefile | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 176b1138..8e927dcf 100644 --- a/Makefile +++ b/Makefile @@ -54,7 +54,7 @@ gnupg/gpg.conf : vim : vim-plugins -vim-plugins : vim/bundle/abolish/.git \ +VIM_PLUGINS = vim/bundle/abolish/.git \ vim/bundle/argumentative/.git \ vim/bundle/commentary/.git \ vim/bundle/ctrlp/.git \ @@ -72,39 +72,9 @@ vim-plugins : vim/bundle/abolish/.git \ vim/bundle/unimpaired/.git \ vim/bundle/vimperator/.git -vim/bundle/abolish/.git : - git submodule update --init "$(@D)" -vim/bundle/argumentative/.git : - git submodule update --init "$(@D)" -vim/bundle/commentary/.git : - git submodule update --init "$(@D)" -vim/bundle/ctrlp/.git : - git submodule update --init "$(@D)" -vim/bundle/exchange/.git : - git submodule update --init "$(@D)" -vim/bundle/html5/.git : - git submodule update --init "$(@D)" -vim/bundle/lion/.git : - git submodule update --init "$(@D)" -vim/bundle/nagios/.git : - git submodule update --init "$(@D)" -vim/bundle/pathogen/.git : - git submodule update --init "$(@D)" -vim/bundle/repeat/.git : - git submodule update --init "$(@D)" -vim/bundle/sahara/.git : - git submodule update --init "$(@D)" -vim/bundle/surround/.git : - git submodule update --init "$(@D)" -vim/bundle/tmux/.git : - git submodule update --init "$(@D)" -vim/bundle/twig/.git : - git submodule update --init "$(@D)" -vim/bundle/undotree/.git : - git submodule update --init "$(@D)" -vim/bundle/unimpaired/.git : - git submodule update --init "$(@D)" -vim/bundle/vimperator/.git : +vim-plugins : $(VIM_PLUGINS) + +$(VIM_PLUGINS) : git submodule update --init "$(@D)" install : install-bash \ -- cgit v1.2.3