diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,7 +6,9 @@ DOTFILES := $(shell find dot \( -type f -o -type l \) -not -name '.*') | |||
6 | 6 | ||
7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) | 7 | DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) |
8 | 8 | ||
9 | EXECUTABLES = $(filter dot/local/bin/%, $(DOTFILES)) | ||
10 | |||
9 | $(HOME)/.%: dot/% | 11 | $(HOME)/.%: dot/% |
10 | install -D -m 0644 $< $@ | 12 | install -D -m $(if $(filter $<, $(EXECUTABLES)), 0755, 0644) $< $@ |
11 | 13 | ||
12 | install: $(DESTINATIONS) | 14 | install: $(DESTINATIONS) |