diff options
author | Kim Alvefur <zash@zash.se> | 2012-03-20 12:50:53 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-03-20 12:50:53 +0100 |
commit | a55ad8478e8c326dc48797f89b93a9f291fa2be9 (patch) | |
tree | 28af5d6081af4927657ca758dd8258899824c03d | |
parent | 7f64044ee8292c9a548446fbdf9ea1416ed5ecc5 (diff) | |
download | prosody-a55ad8478e8c326dc48797f89b93a9f291fa2be9.tar.gz prosody-a55ad8478e8c326dc48797f89b93a9f291fa2be9.zip |
Makefile: Use cp instead of install, and make sure the correct umask is set
-rw-r--r-- | Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 |