aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7e4260bf..e864a7ad 100644
--- a/Makefile
+++ b/Makefile
@@ -550,10 +550,12 @@ install-vim-compiler:
install-vim-config:
mkdir -p -- $(VIMDIR)/config
cp -p -- vim/vimrc $(VIMRC)
- 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
+ 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)