aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)