summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2015-10-04 15:26:56 +0200
committerAndrew Cady <d@jerkface.net>2015-10-04 15:26:56 +0200
commit67e126f27a11913578b0e521ba8ca5c75b5869d0 (patch)
tree201eba82446166345018c6b3e42023ed96ac34d8 /Makefile
parentfeaa8c4a217c6eab78ec1bce3b01e1b751057237 (diff)
set +x on files inside .local/bin/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 369564f..9609f9b 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,9 @@ DOTFILES := $(shell find dot \( -type f -o -type l \) -not -name '.*')
6 6
7DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%) 7DESTINATIONS = $(DOTFILES:dot/%=${HOME}/.%)
8 8
9EXECUTABLES = $(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
12install: $(DESTINATIONS) 14install: $(DESTINATIONS)