summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-10-04 02:17:51 +0200
committerAndrew Cady <d@jerkface.net>2015-10-04 02:17:51 +0200
commite9d31338b23ac114ca3e759527c7bbe6a10c4c79 (patch)
treeee9bec0ee0de86f225cf8f8124cf3e87ca375958 /Makefile
parent36e3285d0e1f9265ffd1a57062afa93d25731921 (diff)
install all files under dot/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 0bac56e..ac79663 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
1DOTFILES = profile 1DOTFILES := $(shell find dot -type f)
2 2
3ifndef HOME 3ifndef HOME
4$(error "$$HOME" must be defined) 4$(error "$$HOME" must be defined)
5endif 5endif
6 6
7DESTINATIONS = $(DOTFILES:%=${HOME}/.%) 7DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%)
8 8
9$(HOME)/.%: % 9$(HOME)/.%: dot/%
10 install -m 0644 $< $@ 10 install -m 0644 $< $@
11 11
12install: $(DESTINATIONS) 12install: $(DESTINATIONS)