blob: 609a2c8afcd9d34860a4affd77e0787fa62118f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
DOTFILES := $(shell find dot -type f)
ifndef HOME
$(error "$$HOME" must be defined)
endif
DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%)
$(HOME)/.%: dot/%
install -D -m 0644 $< $@
install: $(DESTINATIONS)
|