THRIFT-2920 Erlang Thrift test uses wrong IDL file
Client: Erlang
Patch: Jens Geyer
diff --git a/test/erl/Makefile.am b/test/erl/Makefile.am
index cfea7f9..a54e217 100644
--- a/test/erl/Makefile.am
+++ b/test/erl/Makefile.am
@@ -22,12 +22,12 @@
THRIFT_FILES = $(wildcard ../*.thrift)
+# make sure ThriftTest.thrift is generated last to prevent conflicts with other *.thrift files
.generated: $(THRIFT_FILES)
for f in $(THRIFT_FILES) ; do \
$(THRIFT) --gen erl $$f ; \
done ; \
$(THRIFT) --gen erl:legacynames LegacyNames.thrift
- # make sure ThriftTest.thrift is generated last to prevent conflicts with other *.thrift files
$(THRIFT) --gen erl ../ThriftTest.thrift
touch .generated