summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-05-08 09:08:15 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-05-08 09:08:15 -0700
commitbab433d3476259247ed38450f12bb4b447d8445e (patch)
tree9ad1ce377d2d67bc4be417c722b98589a8c2db5f /Makefile
parent[emacs] Add a few more settings for rust. (diff)
downloademacs.d-bab433d3476259247ed38450f12bb4b447d8445e.tar.gz
[vim] Add vim again.
Stallman's latest non sense pushed me over the edge. I will do my best to reduce my usage of software created by this idiot.
Diffstat (limited to '')
-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