diff options
author | Andrew Cady <d@jerkface.net> | 2015-10-04 02:04:26 +0200 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-10-04 02:04:26 +0200 |
commit | 36e3285d0e1f9265ffd1a57062afa93d25731921 (patch) | |
tree | 41d32b3d0ff3817aba62e1ef3b81c5804fbd6011 /Makefile |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
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 @@ | |||
1 | DOTFILES = profile | ||
2 | |||
3 | ifndef HOME | ||
4 | $(error "$$HOME" must be defined) | ||
5 | endif | ||
6 | |||
7 | DESTINATIONS = $(DOTFILES:%=${HOME}/.%) | ||
8 | |||
9 | $(HOME)/.%: % | ||
10 | install -m 0644 $< $@ | ||
11 | |||
12 | install: $(DESTINATIONS) | ||