aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-21 14:37:41 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-21 14:38:56 +1300
commit3e400157a4049bd6409e775f1be814de6281e936 (patch)
treee747ff4e09c268079aec824a258b3426f2a37aac /Makefile
parentFix up capitalization patterns for indent autoload (diff)
downloaddotfiles-3e400157a4049bd6409e775f1be814de6281e936.tar.gz
dotfiles-3e400157a4049bd6409e775f1be814de6281e936.zip
Reshape autoloads into noun#Verb() pattern
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5eedfacf..8146f1cc 100644
--- a/Makefile
+++ b/Makefile
@@ -573,7 +573,12 @@ install-vim-after-syntax:
install-vim-autoload:
mkdir -p $(VIMDIR)/autoload
- cp -p -- vim/autoload/*.vim $(VIMDIR)/autoload
+ cd vim && find autoload \
+ -type d -exec sh -c \
+ 'mkdir -p -- $(VIMDIR)/"$$1"' _ {} \; \
+ -o \
+ -type f -exec sh -c \
+ 'cp -p -- "$$1" $(VIMDIR)/"$$1"' _ {} \;
install-vim-bundle: install-vim-config
cd vim/bundle && find */* \