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