dot/GNUmakefile

26 lines
329 B
Makefile

include GNUmakerules
include GNUmakevars
ALLSRC = \
.zjava \
.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