aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-18 17:31:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-18 17:31:08 +1300
commit5536bbccd0917e554c283b73b420c2905df28efe (patch)
tree0a8d2814c50ec7a68505c175d3fa93cc674fd1a0 /Makefile
parentFix indentation of a Makefile line (diff)
downloaddotfiles-5536bbccd0917e554c283b73b420c2905df28efe.tar.gz
dotfiles-5536bbccd0917e554c283b73b420c2905df28efe.zip
Refactor indent macros into autoload function
Much nicer.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
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