Permalink
Browse files

add local rebar

  • Loading branch information...
1 parent f7ce1a8 commit faac80a73b51806459d37e0e5b997d8acca77104 @benoitc committed Jul 15, 2012
Showing with 15 additions and 14 deletions.
  1. +15 −14 Makefile
  2. BIN rebar
View
@@ -1,20 +1,21 @@
-.PHONY: deps doc
+REBAR?=./rebar
-all: deps compile
-
-compile:
- @rebar compile
-
-deps:
- @rebar get-deps
+all: build
doc:
- @rebar doc
-
-clean:
- @rebar clean
- @rm -f doc/*.html doc/*.css doc/edoc-info doc/*.png
+ $(REBAR) doc
+
+clean:
+ $(REBAR) clean
distclean: clean
- @rebar delete-deps
@rm -rf deps
+
+build: deps
+ $(REBAR) compile
+
+deps:
+ $(REBAR) get-deps
+
+
+.PHONY: doc deps
View
BIN rebar
Binary file not shown.

0 comments on commit faac80a

Please sign in to comment.