summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-12-12 08:36:05 +0100
committerErich Eckner <git@eckner.net>2016-12-12 08:36:05 +0100
commit6cbce395a668363b8973c8ea880c6b4b9f55babf (patch)
tree95366d29f7042ea802d69ad54cafe640b4f79242 /Makefile
parent65606e941c906268f09b4ecc3bfaa1d0981b1c86 (diff)
downloadmakekernel-6cbce395a668363b8973c8ea880c6b4b9f55babf.tar.xz
Makefile sets +x on "make all"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9343fb..b44faa9 100644
--- a/Makefile
+++ b/Makefile
@@ -31,6 +31,7 @@ all: makekernel makekernel.conf makekernel.8
%: %.in
sed "s@#VERSION#@$(VERSION)@g; s@#BINDIR#@$(BINDIR)@g; s@#ETCDIR#@$(ETCDIR)@g; s@#SRCDIR#@$(SRCDIR)@g" $< > $@
+ [ "$@" = "makekernel" ] && chmod +x "$@" || true
.PHONY: install dist clean