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-04-30 21:41:46 +0300
committerBadlop <badlop@process-one.net>2022-05-02 14:20:52 +0300
commit7a1e0d472072e9d96c4c6af2b09c0accc45cd70a (patch)
tree7423c5c16920587752cf05f6dfcecb1356eaa5f5 /Makefile.in
parent45c7fbb5ae3760073691dd25745ba415283d920c (diff)
Fix 'make xref' when using Mix; notice it only checks Elixir files
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 13f7b556d..16e713ebe 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -111,6 +111,7 @@ ifeq "$(REBAR_VER)" "6"
GET_DEPS= deps.get
CONFIGURE_DEPS=
EBINDIR=$(DEPSDIR)/ejabberd/ebin
+ XREFOPTIONS=graph
REBARREL=MIX_ENV=prod $(REBAR) release --overwrite
REBARDEV=MIX_ENV=dev $(REBAR) release --overwrite
RELIVECMD=escript rel/relive.escript && MIX_ENV=dev RELIVE=true iex --name ejabberd@localhost -S mix run
@@ -129,6 +130,7 @@ endif
GET_DEPS= get-deps
CONFIGURE_DEPS=$(REBAR) configure-deps
EBINDIR=$(DEPSDIR)/ejabberd/ebin
+ XREFOPTIONS=
REBARREL=$(REBAR) as prod tar
REBARDEV=REBAR_PROFILE=dev $(REBAR) release
RELIVECMD=$(REBAR) relive
@@ -142,6 +144,7 @@ else
GET_DEPS= get-deps
CONFIGURE_DEPS=$(REBAR) configure-deps
EBINDIR=ebin
+ XREFOPTIONS=
REBARREL=$(REBAR) generate
REBARDEV=
RELIVECMD=@echo "Rebar2 detected... relive not supported.\
@@ -172,7 +175,7 @@ update:
$(REBAR) $(UPDATEDEPS) && :> $(DEPSDIR)/.got
xref: all
- $(REBAR) $(SKIPDEPS) xref
+ $(REBAR) $(SKIPDEPS) xref $(XREFOPTIONS)
hooks: all
tools/hook_deps.sh $(EBINDIR)