summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d57a5ca..54b14db 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,7 @@ all: update-all update-me
%: %.in
sed "s/#VERSION#/$(VERSION)/; s@#BINDIR#@$(BINDIR)@; s@#ETCDIR#@$(ETCDIR)@" $< > $@
+ [ "$@" = "update-me" -o "$@" = "update-all" ] && chmod +x "$@" || true
.PHONY: install dist clean