THRIFT-3421 rebar as dependency instead of bundling
This closes #693
diff --git a/lib/erl/Makefile.am b/lib/erl/Makefile.am
index d140858..df11776 100644
--- a/lib/erl/Makefile.am
+++ b/lib/erl/Makefile.am
@@ -41,13 +41,13 @@
touch .generated
all: .generated
- ./rebar get-deps
- ./rebar compile
+ $(REBAR) get-deps
+ $(REBAR) compile
check: .generated
- ./rebar -C rebar.test.config get-deps
- ./rebar -C rebar.test.config compile
- ./rebar -C rebar.test.config skip_deps=true eunit
+ $(REBAR) -C rebar.test.config get-deps
+ $(REBAR) -C rebar.test.config compile
+ $(REBAR) -C rebar.test.config skip_deps=true eunit
install: all
mkdir -p $(DESTDIR)$(ERLANG_INSTALL_LIB_DIR_thrift) ; \
@@ -64,7 +64,7 @@
clean:
rm -f .generated
rm -rf test/gen-erl/
- ./rebar clean
+ $(REBAR) clean
maintainer-clean-local:
rm -rf ebin
@@ -73,7 +73,6 @@
include \
src \
coding_standards.md \
- rebar \
rebar.config \
test \
README.md
diff --git a/lib/erl/rebar b/lib/erl/rebar
deleted file mode 100755
index 53419ea..0000000
--- a/lib/erl/rebar
+++ /dev/null
Binary files differ