diff options
author | Andrew Cady <d@jerkface.net> | 2015-10-04 15:26:56 +0200 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2015-10-04 15:26:56 +0200 |
commit | 67e126f27a11913578b0e521ba8ca5c75b5869d0 (patch) | |
tree | 201eba82446166345018c6b3e42023ed96ac34d8 /Makefile | |
parent | feaa8c4a217c6eab78ec1bce3b01e1b751057237 (diff) |
set +x on files inside .local/bin/
Diffstat (limited to 'Makefile')
-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) |