dot/GNUmakefile

27 lines
352 B
Makefile

ALLSRC = \
.zjava \
.zlogin \
.zlogout \
.znewterm \
.zprofile \
.zshenv \
.zshrc \
.gitconfig \
.vim/colors/hjp.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