aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-03 13:52:15 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-03 13:52:15 +1200
commiteed53f3305af0a1e059d0fbd79a3c85b17894eec (patch)
treed5028417b5354e9f9a97b5695251397da834d845 /Makefile
parent8ecf9dfad5e56b6d67f955d363a5a07ac69bfbc1 (diff)
downloaddotfiles-eed53f3305af0a1e059d0fbd79a3c85b17894eec.tar.gz
Handle system-specific undos with system.vim file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
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)