dot/GNUmakefile

25 lines
319 B
Makefile

include GNUmakerules
include GNUmakevars
ALLSRC = \
.zlogin \
.zlogout \
.znewterm \
.zprofile \
.zshenv \
.zshrc \
ALLDST = $(subst ., $(HOME)/., $(ALLSRC))
install: $(ALLDST)
echo:
echo $(ALLSRC)
echo $(ALLDST)
$(HOME)/%: %
$(INSTALL) $^ $@
diff:
for i in $(ALLSRC); do diff -u $(HOME)/$$i $$i; done