diff --git a/GNUmakefile b/GNUmakefile index 9a1768a..a84c2b7 100644 --- a/GNUmakefile +++ b/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