dot/GNUmakefile

29 lines
405 B
Makefile

ALLSRC = \
.zjava \
.zlogin \
.zlogout \
.znewterm \
.zprofile \
.zshenv \
.zshrc \
.gitconfig \
.psqlrc \
.vim/colors/hjp.vim \
.vim/colors/hjp-dark.vim \
.vimrc \
ALLDST = $(patsubst %, $(HOME)/%, $(ALLSRC))
install: $(ALLDST)
echo:
echo $(ALLSRC)
echo $(ALLDST)
$(HOME)/%: %
install -D $^ $@
diff:
for i in $(ALLSRC); do diff -u $(HOME)/$$i $$i; done