aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f030821c..3a3ea9ef 100644
--- a/Makefile
+++ b/Makefile
@@ -16,11 +16,12 @@ all: prosody.install prosodyctl.install prosody.cfg.lua.install
$(MAKE) -C util-src install
install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so
- install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(DATA)
+ install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE)
+ install -m750 -d $(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