From 5536bbccd0917e554c283b73b420c2905df28efe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 Dec 2019 17:31:08 +1300 Subject: Refactor indent macros into autoload function Much nicer. --- Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c9019eea..0b562f8e 100644 --- a/Makefile +++ b/Makefile @@ -546,7 +546,6 @@ install-vim: install-vim-after \ install-vim-filetype \ install-vim-ftplugin \ install-vim-indent \ - install-vim-macros \ install-vim-plugin \ install-vim-syntax @@ -559,7 +558,7 @@ install-vim-after-ftplugin: install-vim-compiler mkdir -p $(VIMDIR)/after/ftplugin cp -p -- vim/after/ftplugin/*.vim $(VIMDIR)/after/ftplugin -install-vim-after-indent: install-vim-macros +install-vim-after-indent: install-vim-autoload mkdir -p $(VIMDIR)/after/indent cp -p -- vim/after/indent/*.vim $(VIMDIR)/after/indent @@ -619,14 +618,6 @@ install-vim-indent: mkdir -p -- $(VIMDIR)/indent cp -p -- vim/indent/*.vim $(VIMDIR)/indent -install-vim-macros: - find vim/macros \ - -type d -exec sh -c \ - 'mkdir -p -- $(VIMDIR)/"$${1#vim/}"' _ {} \; \ - -o \ - -type f -exec sh -c \ - 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/}"' _ {} \; - install-vim-plugin: install-vim-autoload mkdir -p -- $(VIMDIR)/plugin cp -p -- vim/plugin/*.vim $(VIMDIR)/plugin -- cgit v1.2.3