From 04d2b4e9cdf0125e4efb54be9ad2400e99c7673a Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 19 Feb 2017 10:08:55 +0100 Subject: [PATCH] Install vim config --- GNUmakefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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