From 890815c7de274c0b4aeef26896e0c67569ff799b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 2 Jul 2018 20:01:05 +1200 Subject: Add CentOS and Debian .vim tweaks --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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) -- cgit v1.2.3