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

« back to all changes in this revision

Viewing changes to 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:
 
1
.PHONY: all build clean install
 
2
 
 
3
all: build
 
4
 
 
5
build: bootstrap
 
6
 
 
7
bootstrap:
4
8
        ./bootstrap
5
9
 
6
10
clean:
9
13
debug:
10
14
        @./bootstrap debug
11
15
 
12
 
check: debug xref dialyzer
 
16
check: debug # xref dialyzer
13
17
 
14
18
xref:
15
19
        @./rebar xref
24
28
binary: VSN = $(shell ./rebar -V)
25
29
binary: clean all
26
30
        cp rebar ../rebar.wiki/rebar
27
 
        (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
 
 
b'\\ No newline at end of file'
 
31
        (cd ../rebar.wiki && git commit -m "Update $(VSN)" rebar)
 
32
 
 
33
install: build
 
34
        install -D -m 755 ./rebar $(DESTDIR)/usr/bin/rebar