aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 45726635..f0a0c5f9 100644
--- a/Makefile
+++ b/Makefile
@@ -509,11 +509,8 @@ install-vim-after: install-vim-after-ftplugin \
install-vim-after-syntax
install-vim-after-ftplugin:
- find vim/after/ftplugin/* \
- -type d -exec sh -c \
- 'mkdir -p -- $(VIMDIR)/"$${1#vim/}"' _ {} \; \
- -o -type f -exec sh -c \
- 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/}"' _ {} \;
+ mkdir -p $(VIMDIR)/after/ftplugin
+ cp -p -- vim/after/ftplugin/*.vim $(VIMDIR)/after/ftplugin
install-vim-after-indent:
mkdir -p $(VIMDIR)/after/indent
@@ -528,11 +525,8 @@ install-vim-after-syntax:
cp -p -- vim/after/syntax/*.vim $(VIMDIR)/after/syntax
install-vim-autoload:
- find vim/autoload/* \
- -type d -exec sh -c \
- 'mkdir -p -- $(VIMDIR)/"$${1#vim/}"' _ {} \; \
- -o -type f -exec sh -c \
- 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/}"' _ {} \;
+ mkdir -p $(VIMDIR)/autoload
+ cp -p -- vim/autoload/*.vim $(VIMDIR)/autoload
install-vim-bundle: install-vim-config
find vim/bundle/*/* \