aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:40:36 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:40:36 +1300
commit3d29ffc221947ece5c46dcecaad9acc57f54c207 (patch)
tree35e1c1c945ce65a7a2dc6a0c35204704cabae402 /Makefile
parentMove PHP indent nixing into ~/.vim/indent (diff)
downloaddotfiles-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--Makefile18
1 files changed, 9 insertions, 9 deletions
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