aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-04-25 17:41:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-04-25 18:00:16 +1200
commit51f45f6af445f736ebc2143ed923bd59899e93da (patch)
treeb756e850a391c2bfb0b8c6e2cce3c93dfae625b3 /Makefile
parentRemove thesaurus install target (diff)
downloaddotfiles-51f45f6af445f736ebc2143ed923bd59899e93da.tar.gz
dotfiles-51f45f6af445f736ebc2143ed923bd59899e93da.zip
Roll out the beginnings of XDG support for Vim
The idea here isn't to remove ~/.vim, but to be able to use ~/.cache and ~/.config on a per-machine basis.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 514a4444..8e537c84 100644
--- a/Makefile
+++ b/Makefile
@@ -588,18 +588,11 @@ install-vim-bundle: install-vim-config
'cp -p -- "$$1" $(VIMDIR)/"$${1#*/}"' _ {} \;
$(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit
-install-vim-cache:
- mkdir -p -- \
- $(VIMDIR)/backup \
- $(VIMDIR)/swap \
- $(VIMDIR)/undo \
- $(VIMDIR)/view
-
install-vim-compiler:
mkdir -p -- $(VIMDIR)/compiler
cp -p -- vim/compiler/*.vim $(VIMDIR)/compiler
-install-vim-config: install-vim-autoload install-vim-cache
+install-vim-config: install-vim-autoload
cp -p -- vim/vimrc.stub $(HOME)/.vimrc
cp -p -- vim/vimrc $(VIMRC)