aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-02 20:01:05 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-02 20:01:05 +1200
commit890815c7de274c0b4aeef26896e0c67569ff799b (patch)
tree441b6c3d7c1bb8e9661ae382bbc073aececadd3b /Makefile
parentMerge branch 'hotfix/v1.16.1' into develop (diff)
downloaddotfiles-890815c7de274c0b4aeef26896e0c67569ff799b.tar.gz
dotfiles-890815c7de274c0b4aeef26896e0c67569ff799b.zip
Add CentOS and Debian .vim tweaks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3afe0265..7e4260bf 100644
--- a/Makefile
+++ b/Makefile
@@ -550,7 +550,10 @@ install-vim-compiler:
install-vim-config:
mkdir -p -- $(VIMDIR)/config
cp -p -- vim/vimrc $(VIMRC)
- cp -p -- vim/config/*.vim $(VIMDIR)/config
+ test -e /etc/debian_version \
+ && cp -p -- vim/config/debian.vim $(VIMDIR)/config
+ test -e /etc/centos-release \
+ && cp -p -- vim/config/centos.vim $(VIMDIR)/config
install-vim-filetype:
cp -p -- vim/filetype.vim vim/scripts.vim $(VIMDIR)