Install vim config
This commit is contained in:
parent
3fcd656c78
commit
04d2b4e9cd
10
GNUmakefile
10
GNUmakefile
|
@ -7,8 +7,13 @@ ALLSRC = \
|
|||
.zshenv \
|
||||
.zshrc \
|
||||
.gitconfig \
|
||||
.vim/ \
|
||||
.vim/colors/ \
|
||||
.vim/colors/hjp.vim \
|
||||
.vimrc \
|
||||
|
||||
ALLDST = $(subst ., $(HOME)/., $(ALLSRC))
|
||||
|
||||
ALLDST = $(patsubst %, $(HOME)/%, $(ALLSRC))
|
||||
|
||||
install: $(ALLDST)
|
||||
|
||||
|
@ -19,5 +24,8 @@ echo:
|
|||
$(HOME)/%: %
|
||||
cp $^ $@
|
||||
|
||||
$(HOME)/%/:
|
||||
mkdir $@
|
||||
|
||||
diff:
|
||||
for i in $(ALLSRC); do diff -u $(HOME)/$$i $$i; done
|
||||
|
|
Loading…
Reference in New Issue