dotfiles/Makefile

11 lines
220 B
Makefile
Raw Normal View History

TARGETS = $(patsubst %,$(HOME)/.%,$(shell ls -d * | grep -v '.d'))
$(HOME)/.%: %
cp -v $^ $@
all: $(TARGETS)
mkdir -p $(HOME)/.bash_completion.d
rsync -avz bash_completion.d/ $(HOME)/.bash_completion.d
.PHONY: all