THRIFT-461: moves thrift compiler call to test suite
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@766558 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/perl/Makefile.am b/lib/perl/Makefile.am
index 163d015..fd1adf4 100644
--- a/lib/perl/Makefile.am
+++ b/lib/perl/Makefile.am
@@ -17,7 +17,7 @@
# under the License.
#
-SUBDIRS = test
+SUBDIRS =
Makefile-perl.mk : Makefile.PL
$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=$(INSTALLDIRS)
@@ -27,6 +27,7 @@
find blib -name 'Makefile*' -exec rm -f {} \;
check-local:
+ make -C test
$(PERL) -Iblib/lib -I@abs_srcdir@ -I@builddir@/test/gen-perl \
@abs_srcdir@/test.pl @abs_srcdir@/test/*.t