aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-20 12:50:53 +0100
committerKim Alvefur <zash@zash.se>2012-03-20 12:50:53 +0100
commit326b9c2cc29490fec4e2f2719b98e8e6530014c9 (patch)
tree28af5d6081af4927657ca758dd8258899824c03d /Makefile
parentfe16dde20be2082bb44788113d416ecb35955ad1 (diff)
downloadprosody-326b9c2cc29490fec4e2f2719b98e8e6530014c9.tar.gz
prosody-326b9c2cc29490fec4e2f2719b98e8e6530014c9.zip
Makefile: Use cp instead of install, and make sure the correct umask is set
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index d94cdf56..356563f2 100644
--- a/Makefile
+++ b/Makefile
@@ -32,13 +32,8 @@ install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodin
install -m644 util/*.so $(SOURCE)/util
install -d $(SOURCE)/util/sasl
install -m644 util/sasl/* $(SOURCE)/util/sasl
- install -m644 plugins/*.lua $(MODULES)
- install -m644 plugins/s2s/*.lua $(MODULES)
- install -d $(MODULES)/muc
- install -m644 plugins/muc/* $(MODULES)/muc
+ umask 0022 && cp -r plugins/* $(MODULES)
install -m644 certs/* $(CONFIG)/certs
- install -d $(MODULES)/adhoc
- install -m644 plugins/adhoc/*.lua $(MODULES)/adhoc
install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1
test -e $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua
test -e prosody.version && install prosody.version $(SOURCE)/prosody.version || true