Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-10 23:40:38 +0300
committerBadlop <badlop@process-one.net>2022-02-11 11:39:28 +0300
commit0ef2624b577d81ee6f6bc4d6ee6277be9f15d517 (patch)
treeb3dd55a3f297fda88e65ea8e71c576c48a5fa16c /Makefile.in
parentb3211b1f716c13903b327bb7394dd319f637eeee (diff)
Provide proper path to the compiled libraries in relive's ejabberdctl
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index fa7fcd0a1..982e6df52 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -275,6 +275,7 @@ copy-files-sub: copy-files-sub2
relive:
$(RELIVECMD)
+relivelibdir=$(shell pwd)/$(DEPSDIR)
relivedir=$(shell pwd)/_build/relive
iexpath=$(shell which iex)
@@ -283,7 +284,7 @@ ejabberdctl.relive:
-e "s*{{installuser}}*@INSTALLUSER@*g" \
-e "s*{{bindir}}/iex*$(iexpath)*g" \
-e "s*{{bindir}}*@bindir@*g" \
- -e "s*{{libdir}}*@libdir@*g" \
+ -e "s*{{libdir}}*${relivelibdir}*g" \
-e "s*{{sysconfdir}}/ejabberd*$(relivedir)/conf*g" \
-e "s*{{localstatedir}}/log/ejabberd*$(relivedir)/logs*g" \
-e "s*{{localstatedir}}/lib/ejabberd*$(relivedir)/database*g" \