-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 755 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: compile
compile: lib xmpp_spec
rebar3 compile
cp mod_http_gateway.spec _build/default/lib/http_gateway/mod_http_gateway.spec
lib: lib/ejabberd
xmpp_spec: src/http_gateway_xmpp.erl
src/http_gateway_xmpp.erl: specs/mod_http_gateway.spec scripts/compile_xmpp_spec.sh
./scripts/compile_xmpp_spec.sh
lib/ejabberd:
mkdir -p lib && cd lib && \
git clone https://github.com/processone/ejabberd.git && \
cd ejabberd && \
git checkout 20.07 && \
./rebar get-deps compile
upload: compile
rsync -rltxSRzv \
--exclude .git \
--exclude *.log* \
--exclude *.pid \
--exclude .idea \
--exclude .rebar \
--exclude *.beam \
--exclude _build \
--exclude lib \
. loguntsov@boorchat.ru:~/ejabberd/mod_http_gateway