From 362a896e6a0caf9d8f39dc80d8ab68ac1b0b1be9 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Wed, 22 Apr 2015 12:03:20 +0200 Subject: [PATCH] Add description for manual build (#97) --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 4b05a94..bb129a4 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,18 @@ The following organization has been set up for the development: it compiles correctly before commit your work. Sources of your module must be located in $CONTRIB\_MODULES\_PATH/sources/ +- Compilation can by done manually (if you know what you are doing) + so you don't need ejabberd running: + ``` + cd /path/of/module + mkdir ebin + /path/of/ejabberd's/erlc \ + -o ebin \ + -I include -I /path/of/ejabberd/lib/ejabberd-XX.YY/include \ + -DLAGER -DNO_EXT_LIB \ + src/*erl + ``` + - The module directory structure is usually the following: * `README.txt`: Module description. * `COPYING`: License for the module.