Software /
code /
prosody
Diff
Makefile @ 7681:2f2f93661d8b
Makefile: Use install to copy plugins that live in subdirectories instead of recursive cp
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Oct 2016 01:39:46 +0200 |
parent | 7680:47be42c9eea3 |
child | 7682:e07116c0df77 |
line wrap: on
line diff
--- a/Makefile Sat Oct 01 01:38:28 2016 +0200 +++ b/Makefile Sat Oct 01 01:39:46 2016 +0200 @@ -38,7 +38,12 @@ install -m644 util/*.so $(SOURCE)/util install -d $(SOURCE)/util/sasl install -m644 util/sasl/*.lua $(SOURCE)/util/sasl - umask 0022 && cp -r plugins/* $(MODULES) + install -d $(MODULES)/mod_s2s $(MODULES)/mod_pubsub $(MODULES)/adhoc $(MODULES)/muc + install -m644 plugins/*.lua $(MODULES) + install -m644 plugins/mod_s2s/*.lua $(MODULES) + install -m644 plugins/mod_pubsub/*.lua $(MODULES) + install -m644 plugins/adhoc/*.lua $(MODULES) + install -m644 plugins/muc/*.lua $(MODULES) install -m644 certs/* $(CONFIG)/certs install -m644 man/prosodyctl.man $(MAN)/man1/prosodyctl.1 test -f $(CONFIG)/prosody.cfg.lua || install -m644 prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua