~ubuntu-branches/ubuntu/trusty/rebar/trusty

« back to all changes in this revision

Viewing changes to .pc/Add-build-target-to-Makefile.patch/Makefile

  • Committer: Package Import Robot
  • Author(s): Nobuhiro Iwamatsu
  • Date: 2012-07-15 12:10:52 UTC
  • Revision ID: package-import@ubuntu.com-20120715121052-uoht7dtyiufg1fex
Tags: 2.0.0-1
Initial release. (Closes: #683350)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.PHONY: dialyzer_warnings xref_warnings
 
2
 
 
3
all:
 
4
        ./bootstrap
 
5
 
 
6
clean:
 
7
        @rm -rf rebar ebin/*.beam inttest/rt.work
 
8
 
 
9
debug:
 
10
        @./bootstrap debug
 
11
 
 
12
check: debug xref dialyzer
 
13
 
 
14
xref:
 
15
        @./rebar xref
 
16
 
 
17
dialyzer: dialyzer_warnings
 
18
        @diff -U0 dialyzer_reference dialyzer_warnings
 
19
 
 
20
dialyzer_warnings:
 
21
        -@dialyzer -q -n ebin -Wunmatched_returns -Werror_handling \
 
22
                -Wrace_conditions > dialyzer_warnings
 
23
 
 
24
binary: VSN = $(shell ./rebar -V)
 
25
binary: clean all
 
26
        cp rebar ../rebar.wiki/rebar
 
27
        (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
 
 
b'\\ No newline at end of file'