diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 11:40:36 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 11:40:36 +1300 |
commit | 3d29ffc221947ece5c46dcecaad9acc57f54c207 (patch) | |
tree | 35e1c1c945ce65a7a2dc6a0c35204704cabae402 /Makefile | |
parent | Move PHP indent nixing into ~/.vim/indent (diff) | |
download | dotfiles-3d29ffc221947ece5c46dcecaad9acc57f54c207.tar.gz dotfiles-3d29ffc221947ece5c46dcecaad9acc57f54c207.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |