From eed53f3305af0a1e059d0fbd79a3c85b17894eec Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 3 Jul 2018 13:52:15 +1200 Subject: Handle system-specific undos with system.vim file --- Makefile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e864a7ad..9f5c768e 100644 --- a/Makefile +++ b/Makefile @@ -548,14 +548,12 @@ install-vim-compiler: cp -p -- vim/compiler/*.vim $(VIMDIR)/compiler install-vim-config: - mkdir -p -- $(VIMDIR)/config cp -p -- vim/vimrc $(VIMRC) 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 + cp -p -- vim/system/debian.vim $(VIMDIR)/system.vim ; \ + elif [ -e /etc/centos-release ] ; then \ + cp -p -- vim/system/centos.vim $(VIMDIR)/system.vim ; \ + fi install-vim-filetype: cp -p -- vim/filetype.vim vim/scripts.vim $(VIMDIR) -- cgit v1.2.3