Badlop
4bc57f76eb
make hooks and options work with rebar3 too
2021-02-16 13:09:30 +01:00
Stu Tomlinson
714bc2d329
Miscellaneous rebar3 fixes
...
Correct Makefile clean targets
Fix a few more include() -> include_lib() for depedency includes
Use project_app_dirs to reference elixir app from rebar3 (lib_dirs is
no longer supported)
2020-09-23 15:52:21 +01:00
Stu Tomlinson
0fc1aea379
rebar3 support for main build process
...
This adds support for building, and installing, ejabberd using rebar3
A --with-rebar=/path/to/rebar3 option is added to configure to specify
which rebar to use
rebar2 compatibility is maintained, and the bundled rebar2 is still
used by default
2020-09-21 15:14:12 +01:00
Evgeny Khramtsov
51745f696f
Add the man page
2020-01-08 12:47:54 +03:00
Evgeny Khramtsov
a9383597af
Add install target for ejabberd.yml.5
2020-01-08 12:45:58 +03:00
Evgeny Khramtsov
56a0e736c7
Accept output argument in tools/opt_types.sh
2019-06-14 23:19:08 +03:00
Evgeny Khramtsov
a02cff0e78
Use new configuration validator
2019-06-14 12:33:26 +03:00
Mickael Remond
ef1a75a628
Remove Elixir tests entry points as they were removed in december:
...
51cbbf313f (diff-098f6bcd4621d373cade4e832627b4f6)
2019-05-01 11:51:17 +02:00
HAMANO Tsukasa
3438f22de5
missing priv/lua/redis_sm.lua
2018-10-29 18:25:04 +09:00
Evgeniy Khramtsov
4394ec38b6
Don't forget to remove Lua scripts on uninstall
2018-07-14 18:02:50 +03:00
Badlop
b293e99aee
Add option --enable-group=xxx (thanks to andreabenini)( #1429 )
2018-03-20 23:39:07 +01:00
Paweł Chmielowski
59b7c89944
Use correct name of new rebar command
2018-01-15 15:21:04 +01:00
Paweł Chmielowski
a7639fd4ad
Call configure on deps in separate rebar command that compile
...
This way we rebar.config.script can use vars detected by configure
2018-01-15 12:31:47 +01:00
Paweł Chmielowski
be592c9272
Don't report errors when trying to remove not existing files in make install
2018-01-15 10:38:36 +01:00
Paweł Chmielowski
c5a4f67935
Delete old .so and executable files before installing new one
...
This fixes crash for people who have live ejabberd installed in make install
target directory, by ensuring that loaded binaries aren't replaced in memory
with new content.
2018-01-08 11:11:50 +01:00
Paweł Chmielowski
2b0cc2ddb4
Make all install target rules as .PHONY
2018-01-08 11:11:50 +01:00
Paweł Chmielowski
3f8eff27fa
Refactor code for installing binaries
2018-01-08 11:11:50 +01:00
nosnilmot
bca87e2c89
Set executable permission on mac_listener when installing ( #2138 )
2017-12-01 17:28:31 +01:00
Paweł Chmielowski
6686a64d5f
Fix filtering of rebar list-deps
2017-11-20 12:51:19 +01:00
Paweł Chmielowski
c05626a1ba
Fix sed invocation that was incompatible with FreeBSD sed
2017-11-17 09:50:24 +01:00
Holger Weiss
6cd3867197
Makefile.in: Fix "make clean && make"
2017-11-15 08:50:40 +01:00
Paweł Chmielowski
9b8ae80dab
Improve --enable-system-deps
2017-10-30 13:55:10 +01:00
PaweÅ Chmielowski
88928c0149
Adopt 'make install' to updated output from 'rebar list-deps'
2017-10-26 11:21:41 +02:00
Evgeniy Khramtsov
5a184b0433
Don't include CSS, javascript and image data directly in the code
2017-10-09 23:35:42 +03:00
Evgeniy Khramtsov
d22ee24e72
Better handle mobile devices in CSS of mod_register_web
...
Thanks to Marek Foss. Fixes #2039
2017-10-09 21:46:38 +03:00
Paweł Chmielowski
668d45cbc7
Install binaries with 755 permissions
2017-10-02 11:51:15 +02:00
Paweł Chmielowski
77a1f728cf
Install eimp binary with +x attribute
2017-09-28 18:34:27 +02:00
Badlop
368ba3fc55
When running "make translations", use the new tools/prepare-tr.sh
2017-09-27 10:57:11 +02:00
Paweł Chmielowski
d7891a5562
Fix 'make install' to work with new output from rebar list-deps
2017-08-24 11:43:47 +02:00
Christophe Romain
2d8ce266bd
Add license files into lib and deps directories
2017-05-30 15:03:06 +02:00
Evgeniy Khramtsov
c526c02d92
Remove webtool from erlang.plt creation
2017-03-20 13:48:17 +03:00
Paweł Chmielowski
44a9ceac0b
More changes that are required from p1_pam -> epam
2017-01-29 14:35:22 +01:00
Holger Weiss
9c3ebb7d22
Don't make ejabberd.service file executable
2016-11-24 07:59:27 +01:00
Holger Weiss
b6ddcf3e58
Makefile.in: Substitute all @variables@ in a line
...
There are now lines with multiple occurrences of the @ctlscriptpath@
variable in the ejabberd.service template.
2016-11-24 07:55:06 +01:00
Evgeniy Khramtsov
9aff7e52a8
Switch to stand-alone XMPP library
2016-11-19 13:03:33 +03:00
Evgeniy Khramtsov
78a44e0176
Merge branch 'master' into xml-ng
...
Conflicts:
src/adhoc.erl
src/cyrsasl_oauth.erl
src/ejabberd_c2s.erl
src/ejabberd_config.erl
src/ejabberd_service.erl
src/gen_mod.erl
src/mod_admin_extra.erl
src/mod_announce.erl
src/mod_carboncopy.erl
src/mod_client_state.erl
src/mod_configure.erl
src/mod_echo.erl
src/mod_mam.erl
src/mod_muc.erl
src/mod_muc_room.erl
src/mod_offline.erl
src/mod_pubsub.erl
src/mod_stats.erl
src/node_flat_sql.erl
src/randoms.erl
2016-11-12 13:27:15 +03:00
Badlop
bab71f0832
Replace ctlscriptpath and produce ejabberd.service file ( #434 )
2016-11-04 16:35:59 +01:00
Evgeniy Khramtsov
6a3691ef7c
Add xdata generator and make some code using it
2016-10-07 10:31:03 +03:00
Evgeniy Khramtsov
9a8e197d7e
Initial version based on XML generator
2016-07-18 15:01:32 +03:00
Matthias Rieber
5e5328da4a
Fix ejabberdctl.template duplication
2016-05-03 16:36:20 +02:00
Holger Weiss
b202004862
ejabberdctl: Fix path to epmd
2016-05-01 21:29:59 +02:00
Evgeniy Khramtsov
d6323a7b5e
Add tests for XEP-0013
2016-02-10 16:15:43 +03:00
Badlop
315fc9493e
Handle spaces in vsn attribute of app file when installing deps ( #940 )
2016-02-03 17:45:27 +01:00
Christophe Romain
00f502f6e9
Fix 'make install' to work on osx
2016-01-08 11:22:59 +01:00
Paweł Chmielowski
0d750ff169
Add version sufixes to application locations in 'make install'
2016-01-07 18:51:48 +01:00
Paweł Chmielowski
c3888cb0ca
Don't forget copying files that were compiled during make install
2015-12-02 12:40:49 +01:00
Christophe Romain
4480749a52
Merge branch 'cluster_fix'
2015-11-20 14:52:36 +01:00
Christophe Romain
67a70b9107
Integrate join/leave cluster as ejabberd command
2015-11-20 10:39:27 +01:00
Paweł Chmielowski
f112a91321
Copy elixir files in copy-files makefile target
2015-10-28 18:12:39 +01:00
Paweł Chmielowski
06701b126b
Make COPY_template compatible with gmake 3.8
2015-10-19 16:39:08 +02:00