THRIFT-1735 integrate tutorial into regular build
- cpp support
- cleanup stuff
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1401818 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/tutorial/js/Makefile.am b/tutorial/js/Makefile.am
index 1f57f20..c174500 100755
--- a/tutorial/js/Makefile.am
+++ b/tutorial/js/Makefile.am
@@ -24,6 +24,9 @@
ANT=$(ANT) ; if test -z "$$ANT" ; then ANT=: ; fi ; \
$$ANT $(ANT_FLAGS) clean
+all-local:
+ $(ANT) $(ANT_FLAGS) compile
+
check-local: all
$(ANT) $(ANT_FLAGS) test
diff --git a/tutorial/js/build.xml b/tutorial/js/build.xml
index 348f229..73d535d 100644
--- a/tutorial/js/build.xml
+++ b/tutorial/js/build.xml
@@ -83,6 +83,7 @@
<target name="clean">
<delete dir="${build}" />
+ <delete dir="gen-js"/>
<delete file="tutorial-js.jar" />
</target>