about summary refs log tree commit diff stats
path: root/Makefile
blob: 712877b6a4b7bb3ceb91512caaf45f6713c4abcf (plain)
1
2
3
4
5
6
7
8
9
10
# ~/etc/ Makefile

BOOTSTRAPS:=$(wildcard bootstrap/*)
BOOTSTRAPS_OUT:=$(foreach b,$(BOOTSTRAPS),$(patsubst bootstrap/%,~/.%,$(b)))

.PHONY: bootstrap
bootstrap: $(BOOTSTRAPS_OUT)

~/.%: bootstrap/%
	ln -sf etc/$< $@