mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Tell relx to include src, so that the tar will contain include/ (#3633)
That's the only way to ensure that tar.gz will contain include/ of ejabberd and its dependencies, which is required to compile ejabberd-contrib modules with "ejabberdctl module_install ..."
This commit is contained in:
parent
bb0c6e1e02
commit
08c2d0a83e
@ -189,13 +189,16 @@
|
|||||||
{copy, "rel/files/install_upgrade.escript", "bin/install_upgrade.escript"}]}
|
{copy, "rel/files/install_upgrade.escript", "bin/install_upgrade.escript"}]}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
{profiles, [{prod, [{relx, [{mode, prod},
|
{profiles, [{prod, [{relx, [{debug_info, strip},
|
||||||
|
{dev_mode, false},
|
||||||
|
{include_erts, true},
|
||||||
|
{include_src, true},
|
||||||
{overlay, [{copy, "sql/*", "lib/ejabberd-\{\{release_version\}\}/priv/sql/"},
|
{overlay, [{copy, "sql/*", "lib/ejabberd-\{\{release_version\}\}/priv/sql/"},
|
||||||
{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg"},
|
{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg"},
|
||||||
{copy, "ejabberd.yml.example", "etc/ejabberd/ejabberd.yml"}]}]}]},
|
{copy, "ejabberd.yml.example", "etc/ejabberd/ejabberd.yml"}]}]}]},
|
||||||
{dev, [{post_hooks, [{release, "rel/setup-dev.sh"}]},
|
{dev, [{post_hooks, [{release, "rel/setup-dev.sh"}]},
|
||||||
{relx, [{dev_mode, true},
|
{relx, [{debug_info, keep},
|
||||||
{debug_info, keep},
|
{dev_mode, true},
|
||||||
{include_erts, true},
|
{include_erts, true},
|
||||||
{include_src, false},
|
{include_src, false},
|
||||||
{overlay, [{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg.example"},
|
{overlay, [{copy, "ejabberdctl.cfg.example", "etc/ejabberd/ejabberdctl.cfg.example"},
|
||||||
|
Loading…
Reference in New Issue
Block a user