Makefile: Specify permissions on installed executables [thanks mhavela]

Thu, 04 Jun 2009 15:30:00 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 04 Jun 2009 15:30:00 +0100
changeset 1299
997ac65a85f4
parent 1298
4e0db19e5f1c
child 1300
954973fd2939

Makefile: Specify permissions on installed executables [thanks mhavela]

Makefile file | annotate | diff | comparison | revisions
--- a/Makefile	Thu Jun 04 15:24:43 2009 +0100
+++ b/Makefile	Thu Jun 04 15:30:00 2009 +0100
@@ -19,8 +19,8 @@
 	install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA)
 	install -d $(CONFIG)/certs
 	install -d $(SOURCE)/core $(SOURCE)/net $(SOURCE)/util
-	install ./prosody.install $(BIN)/prosody
-	install ./prosodyctl.install $(BIN)/prosodyctl
+	install -m755 ./prosody.install $(BIN)/prosody
+	install -m755 ./prosodyctl.install $(BIN)/prosodyctl
 	install -m644 core/* $(SOURCE)/core
 	install -m644 net/* $(SOURCE)/net
 	install -m644 util/* $(SOURCE)/util

mercurial