aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3afe0265..e864a7ad 100644
--- a/Makefile
+++ b/Makefile
@@ -550,7 +550,12 @@ install-vim-compiler:
install-vim-config:
mkdir -p -- $(VIMDIR)/config
cp -p -- vim/vimrc $(VIMRC)
- cp -p -- vim/config/*.vim $(VIMDIR)/config
+ if [ -e /etc/debian_version ] ; then \
+ cp -p -- vim/config/debian.vim $(VIMDIR)/config ; \
+ fi
+ if [ -e /etc/centos-release ] ; then \
+ cp -p -- vim/config/centos.vim $(VIMDIR)/config ; \
+ fi
install-vim-filetype:
cp -p -- vim/filetype.vim vim/scripts.vim $(VIMDIR)