Changeset

4628:087f4b437bd2

Makefile: Use cp instead of install, and make sure the correct umask is set
author Kim Alvefur <zash@zash.se>
date Tue, 20 Mar 2012 12:50:53 +0100
parents 4627:b046cafc81a8
children 4629:bdafc3e729db
files Makefile
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Mar 15 19:09:24 2012 +0000
+++ b/Makefile	Tue Mar 20 12:50:53 2012 +0100
@@ -32,13 +32,8 @@
 	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