Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

improves rebar handling

  • Loading branch information...
commit c8a864ba5ee6c110035324fac20d6e018b1fe61c 1 parent fdba24b
@videlalvaro authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 Makefile
View
5 Makefile
@@ -1,3 +1,4 @@
+REBAR=`which rebar || ./rebar`
PACKAGE=rh-exchange
DIST_DIR=dist
EBIN_DIR=ebin
@@ -28,10 +29,10 @@ install: package
cp $(DIST_DIR)/$(PACKAGE).ez $(RABBITMQ_HOME)/plugins
$(DEPS_DIR):
- ./rebar get-deps
+ @$(REBAR) get-deps
$(DEPS_EZ):
cd $(DEPS_DIR); $(foreach DEP, $(DEPS), zip -r $(DEP).ez $(DEP);)
compile: $(DEPS_DIR)
- ./rebar compile
+ @$(REBAR) compile
Please sign in to comment.
Something went wrong with that request. Please try again.