-
Notifications
You must be signed in to change notification settings - Fork 31
/
Makefile
38 lines (30 loc) · 982 Bytes
/
Makefile
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
32
33
34
35
36
37
38
.PHONY: all check test clean
all:
./rebar compile
docs:
./rebar doc
check:
./rebar check-plt
./rebar dialyze
test:
./rebar eunit
conf_clean:
@:
clean:
./rebar clean
release: all
rm -fr releases/xmlrpc-$(VSN)
mkdir releases/xmlrpc-$(VSN)
install -m 644 LICENSE README releases/xmlrpc-$(VSN)
mkdir releases/xmlrpc-$(VSN)/doc
install -m 644 doc/xmlrpc.3 releases/xmlrpc-$(VSN)/doc
install -m 644 doc/xmlrpc.txt releases/xmlrpc-$(VSN)/doc
install -m 644 doc/xmlrpc.ps releases/xmlrpc-$(VSN)/doc
install -m 644 doc/xmlrpc.pdf releases/xmlrpc-$(VSN)/doc
mkdir releases/xmlrpc-$(VSN)/ebin
mkdir releases/xmlrpc-$(VSN)/examples
install -m 644 examples/*.erl examples/*.java examples/*.txt examples/README examples/Makefile releases/xmlrpc-$(VSN)/examples
mkdir releases/xmlrpc-$(VSN)/src
install -m 644 src/*.erl src/*.hrl releases/xmlrpc-$(VSN)/src
install -m 644 src/Makefile releases/xmlrpc-$(VSN)/src
(cd releases;tar zcvf xmlrpc-$(VSN).tgz xmlrpc-$(VSN))