THRIFT-3681 Fix Dart tutorial build
Client: Build (Dart)
Patch: Nobuaki Sukegawa
This closes #901
diff --git a/tutorial/dart/Makefile.am b/tutorial/dart/Makefile.am
index 2bb6bf2..306864c 100644
--- a/tutorial/dart/Makefile.am
+++ b/tutorial/dart/Makefile.am
@@ -17,6 +17,8 @@
# under the License.
#
+BUILT_SOURCES = gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart
+
THRIFT = $(top_builddir)/compiler/cpp/thrift
gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart: $(top_srcdir)/tutorial/tutorial.thrift
@@ -44,7 +46,7 @@
cd console_client; ${DARTPUB} get
pub-get-server:
- cd client; ${DARTPUB} get
+ cd server; ${DARTPUB} get
tutorialserver: pub-get-gen pub-get-server
${DART} server/bin/main.dart
@@ -53,4 +55,4 @@
cd client; ${DARTPUB} serve
tutorialconsoleclient: pub-get-console-client
- ${DART} console-client/bin/main.dart
+ ${DART} console_client/bin/main.dart