Debian Codegraph @

Makefile

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 .PHONY: clean xref_warnings deps test test_eunit test_inttest all build install
2
•3 REBAR=$(CURDIR)/rebar
4 RETEST=$(CURDIR)/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 install: all
37 install -D -m 755 ./rebar $(DESTDIR)/usr/bin/rebar
38
39 deps:
40 @REBAR_EXTRA_DEPS=1 $(REBAR) get-deps
41 @(cd deps/retest && $(REBAR) compile escriptize)
42
43 test: test_eunit test_inttest
44
45 test_eunit: all
46 @$(REBAR) eunit
47
48 test_inttest: all deps
49 @$(RETEST) -l $(LOG_LEVEL) $(RT_TARGETS)
50
51 travis: clean debug xref clean all deps test