aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:22:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-17 00:22:36 +1200
commit9b53214dc18da5c54ea18435edf603d95a08f741 (patch)
tree8a280273960b7da90376928ed214b5e4c8682678 /Makefile
parentAdjust formatting of autocmd (diff)
downloaddotfiles-9b53214dc18da5c54ea18435edf603d95a08f741.tar.gz
dotfiles-9b53214dc18da5c54ea18435edf603d95a08f741.zip
Revert "Dispense with system-dependent files"
This reverts commit 1c51d2e98e0e0ec91da7ff3a93ad84f9767d0658. Already found problems--trips up using the -V command line option.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 350d891f..2a5abdbd 100644
--- a/Makefile
+++ b/Makefile
@@ -591,6 +591,11 @@ install-vim-compiler:
install-vim-config: install-vim-cache
cp -p -- vim/vimrc.stub.vim $(HOME)/.vimrc
cp -p -- vim/vimrc $(VIMRC)
+ if [ -e /etc/debian_version ] ; then \
+ 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)