summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)