Debian Codegraph @

Makefile

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 .PHONY: clean xref_warnings deps test test_eunit test_inttest
2
3 REBAR=$(PWD)/rebar
4 RETEST=$(PWD)/deps/retest/retest
5 LOG_LEVEL?=debug
6 RT_TARGETS?=inttest
7
8 all:
9 ./bootstrap
10
11 clean:
12 @rm -rf rebar .rebar/erlcinfo ebin/*.beam inttest/rt.work rt.work .eunit
13
14 distclean: clean
15 @rm -rf deps
16
17 debug:
18 @./bootstrap debug
19
20 check: debug xref dialyzer deps test
21
22 xref:
23 @./rebar xref
24
25 build_plt:
26 @./rebar build-plt
27
28 dialyzer:
29 @./rebar dialyze
30
31 binary: VSN = $(shell ./rebar -V)
32 binary: clean all
33 @cp rebar ../rebar.wiki/rebar
34 (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
35
36 deps:
37 @REBAR_EXTRA_DEPS=1 $(REBAR) get-deps
38 @(cd deps/retest && $(REBAR) compile escriptize)
39
40 test: test_eunit test_inttest
41
42 test_eunit: all
43 @$(REBAR) eunit
44
45 test_inttest: all deps
46 @$(RETEST) -l $(LOG_LEVEL) $(RT_TARGETS)
47
48 travis: clean debug xref clean all deps test