Changeset

7689:97c013e8f002

Makefile: Fix installing modules into their correct subdirectories (thanks mimi89999)
author Kim Alvefur <zash@zash.se>
date Sat, 08 Oct 2016 21:06:43 +0200
parents 7688:88ad2d5bcf80
children 7690:861a747e441b 7692:90ddd53cbe08
files Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Oct 08 14:07:07 2016 +0200
+++ b/Makefile	Sat Oct 08 21:06:43 2016 +0200
@@ -46,10 +46,10 @@
 	$(INSTALL_DATA) util/sasl/*.lua $(SOURCE)/util/sasl
 	$(MKDIR) $(MODULES)/mod_s2s $(MODULES)/mod_pubsub $(MODULES)/adhoc $(MODULES)/muc
 	$(INSTALL_DATA) plugins/*.lua $(MODULES)
-	$(INSTALL_DATA) plugins/mod_s2s/*.lua $(MODULES)
-	$(INSTALL_DATA) plugins/mod_pubsub/*.lua $(MODULES)
-	$(INSTALL_DATA) plugins/adhoc/*.lua $(MODULES)
-	$(INSTALL_DATA) plugins/muc/*.lua $(MODULES)
+	$(INSTALL_DATA) plugins/mod_s2s/*.lua $(MODULES)/mod_s2s
+	$(INSTALL_DATA) plugins/mod_pubsub/*.lua $(MODULES)/mod_pubsub
+	$(INSTALL_DATA) plugins/adhoc/*.lua $(MODULES)/adhoc
+	$(INSTALL_DATA) plugins/muc/*.lua $(MODULES)/muc
 	$(INSTALL_DATA) certs/* $(CONFIG)/certs
 	$(INSTALL_DATA) man/prosodyctl.man $(MAN)/man1/prosodyctl.1
 	test -f $(CONFIG)/prosody.cfg.lua || $(INSTALL_DATA) prosody.cfg.lua.install $(CONFIG)/prosody.cfg.lua