summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-10-04 02:04:26 +0200
committerAndrew Cady <d@jerkface.net>2015-10-04 02:04:26 +0200
commit36e3285d0e1f9265ffd1a57062afa93d25731921 (patch)
tree41d32b3d0ff3817aba62e1ef3b81c5804fbd6011 /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0bac56e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
1DOTFILES = profile
2
3ifndef HOME
4$(error "$$HOME" must be defined)
5endif
6
7DESTINATIONS = $(DOTFILES:%=${HOME}/.%)
8
9$(HOME)/.%: %
10 install -m 0644 $< $@
11
12install: $(DESTINATIONS)