1 Description: remove make targets for deps
2 Without this patch, dependencies would be downloaded and compiled
3 using rebar at build time.
4 Author: Philipp Huebner <debalance@debian.org>
6 Index: ejabberd/Makefile.in
7 ===================================================================
8 --- ejabberd.orig/Makefile.in
9 +++ ejabberd/Makefile.in
10 @@ -68,26 +68,11 @@ else
11 INIT_USER=$(INSTALLUSER)
22 - $(REBAR) get-deps && :> deps/.got
24 -deps/.built: deps/.got
25 - $(REBAR) compile && :> deps/.built
29 $(REBAR) skip_deps=true compile
34 - $(REBAR) update-deps && :> deps/.got
37 contrib/extract_translations/prepare-translation.sh -updateall
39 @@ -103,8 +88,6 @@ spec:
40 $(ERL) -noinput +B -pa ebin -pa deps/*/ebin -eval \
41 'case xml_gen:compile("tools/xmpp_codec.spec") of ok -> halt(0); _ -> halt(1) end.'
43 -DLLs := $(wildcard deps/*/priv/*.so) $(wildcard deps/*/priv/lib/*.so)
48 @@ -139,14 +122,11 @@ install: all
49 $(INSTALL) -d $(BEAMDIR)
50 $(INSTALL) -m 644 ebin/*.app $(BEAMDIR)
51 $(INSTALL) -m 644 ebin/*.beam $(BEAMDIR)
52 - $(INSTALL) -m 644 deps/*/ebin/*.app $(BEAMDIR)
53 - $(INSTALL) -m 644 deps/*/ebin/*.beam $(BEAMDIR)
54 rm -f $(BEAMDIR)/configure.beam
56 # ejabberd header files
57 $(INSTALL) -d $(INCLUDEDIR)
58 $(INSTALL) -m 644 include/*.hrl $(INCLUDEDIR)
59 - $(INSTALL) -m 644 deps/*/include/*.hrl $(INCLUDEDIR)
62 $(INSTALL) -d $(PBINDIR)
63 @@ -156,7 +136,6 @@ install: all
65 # Binary system libraries
66 $(INSTALL) -d $(SODIR)
67 - $(INSTALL) -m 644 $(DLLs) $(SODIR)
70 $(INSTALL) -d $(MSGSDIR)