summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 09314b4..4e0e867 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ INSTALL = \
emacs.d \
gitconfig \
gitignore \
- tmux.conf
+ tmux.conf \
+ vim \
+ vimrc
INSTALLED = $(patsubst %,$(INTO)/.%,$(INSTALL))
@@ -21,9 +23,12 @@ $(INTO)/.% : %
$(HOME)/.ssh/authorized_keys:
@curl https://github.com/fcuny.keys -o $(HOME)/.ssh/authorized_keys
-$(HOME)/workspace/:
+$(HOME)/workspace:
@mkdir -p $(HOME)/workspace/
+$(PWD)/vim/autoload/plug.vim:
+ @curl -fLo $(PWD)/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+
.PHONY: git
git:
@git config --local user.email "franck.cuny@gmail.com"
@@ -38,4 +43,4 @@ clean-dead:
@find ~ -maxdepth 1 -name '.*' -type l -exec test ! -e {} \; -delete
.PHONY: install
-install: $(INSTALLED) $(HOME)/src $(HOME)/.ssh/authorized_keys git
+install: $(INSTALLED) $(HOME)/workspace $(HOME)/.ssh/authorized_keys $(PWD)/vim/autoload/plug.vim