From 3d29ffc221947ece5c46dcecaad9acc57f54c207 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 11:40:36 +1300 Subject: Rename Makefile target for Vim plugin bundles It's misleading to label this target as installing plugins when what it actually does at a directory level is install the Vim plugin submodules into ~/.vim/bundle for loading by Pathogen. This also allows scope for an `install-vim-plugins` target to actually install into ~/.vim/bundle, if I do need that at some point. --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 777710a8..3d04f3de 100644 --- a/Makefile +++ b/Makefile @@ -37,12 +37,12 @@ install-tmux \ install-urxvt \ install-vim \ + install-vim-bundle \ install-vim-config \ install-vim-ftdetect \ install-vim-gui \ install-vim-gui-config \ install-vim-indent \ - install-vim-plugins \ install-wget \ install-x \ install-zsh \ @@ -464,10 +464,15 @@ install-urxvt: urxvt/ext/select find urxvt/ext -type f ! -name '*.pl' \ -exec cp -p -- {} $(HOME)/.urxvt/ext \; -install-vim: install-vim-config \ +install-vim: install-vim-bundle \ + install-vim-config \ install-vim-ftdetect \ - install-vim-indent \ - install-vim-plugins + install-vim-indent + +install-vim-bundle: install-vim-config + find vim/after vim/bundle -name .git -prune -o \ + -type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \ + -type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \; install-vim-config: mkdir -p -- $(HOME)/.vim/config @@ -488,11 +493,6 @@ install-vim-gui: install-vim \ install-vim-gui-config: cp -p -- vim/gvimrc $(HOME)/.gvimrc -install-vim-plugins: install-vim-config - find vim/after vim/bundle -name .git -prune -o \ - -type d -exec sh -c 'mkdir -p -- $(HOME)/."$$1"' _ {} \; -o \ - -type f -exec sh -c 'cp -p -- "$$1" $(HOME)/."$$1"' _ {} \; - install-wget: cp -p -- wget/wgetrc $(HOME)/.wgetrc -- cgit v1.2.3