diff options
author | Andrew Cady <d@jerkface.net> | 2015-10-04 02:42:49 +0200 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-10-04 02:42:49 +0200 |
commit | 29ec6fc29e8a94ca8106e8fd9e2218ae54a59a3a (patch) | |
tree | 36de47e6b9184df8c0276761a72dea617aca41c7 /Makefile | |
parent | 4509f0bacc893518c6c3886c0fc527a2f8f30b02 (diff) |
make Makefile fail earlier
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,9 +1,9 @@ | |||
1 | DOTFILES := $(shell find dot -type f) | ||
2 | |||
3 | ifndef HOME | 1 | ifndef HOME |
4 | $(error "$$HOME" must be defined) | 2 | $(error "$$HOME" must be defined) |
5 | endif | 3 | endif |
6 | 4 | ||
5 | DOTFILES := $(shell find dot -type f) | ||
6 | |||
7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) | 7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) |
8 | 8 | ||
9 | $(HOME)/.%: dot/% | 9 | $(HOME)/.%: dot/% |