Make "make check" work properly for Python and Java.
Summary:
The Python and Java versions of "make check" only work if "make all" has
been run. Our automake-fu isn't strong enough to make proper dependencies,
so this hack suggested by Nitay will force the libraries to be built
before make check is run.
Test Plan: make check
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665497 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/java/Makefile.am b/lib/java/Makefile.am
index ddbf2f0..2aa5714 100644
--- a/lib/java/Makefile.am
+++ b/lib/java/Makefile.am
@@ -7,3 +7,4 @@
clean-generic:
$(ANT) clean
+check-local: all
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
index 257e9ab..1142b3c 100644
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -14,3 +14,4 @@
clean-generic:
rm -rf build
+check-local: all