THRIFT-373. Get some missing files into the release tarballs

- Added some stuff to EXTRA_DIST.
- Added some non-compiled sources to a C++ test.
- Made lib/perl/test a SUBDIR of lib/perl.

The last is a revert of r766558, but I moved the "Types.pm" rules in
lib/perl/test/Makefile.am to the check-local target, so it should still
work as expected (per THRIFT-461).

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@777681 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
David Reiss 2009-05-22 19:52:06 +00:00
parent dc0a941426
commit 4b86e62eb6
6 changed files with 8 additions and 6 deletions

View File

@ -25,4 +25,4 @@ dist-hook:
find $(distdir) -name '.[a-zA-Z0-9]*' | xargs rm -rf
EXTRA_DIST = bootstrap.sh cleanup.sh print_version.sh doc tutorial contrib \
CONTRIBUTORS LICENSE
CONTRIBUTORS LICENSE CHANGES DISCLAIMER NOTICE

View File

@ -17,7 +17,7 @@
# under the License.
#
EXTRA_DIST = build.xml src test
EXTRA_DIST = build.xml ivy.xml src test
export CLASSPATH

View File

@ -17,7 +17,7 @@
# under the License.
#
SUBDIRS =
SUBDIRS = test
Makefile-perl.mk : Makefile.PL
$(PERL) Makefile.PL MAKEFILE=Makefile-perl.mk INSTALLDIRS=$(INSTALLDIRS)
@ -27,7 +27,6 @@ all-local: Makefile-perl.mk
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

View File

@ -20,7 +20,7 @@
THRIFT = @top_builddir@/compiler/cpp/thrift
THRIFT_IF = @top_srcdir@/test/ThriftTest.thrift
all-local: gen-perl/ThriftTest/Types.pm
check-local: gen-perl/ThriftTest/Types.pm
gen-perl/ThriftTest/Types.pm: $(THRIFT_IF)
$(THRIFT) --gen perl $(THRIFT_IF)

View File

@ -25,6 +25,7 @@ EXTRA_DIST = \
lib \
ext \
benchmark \
script \
spec
all-local:

View File

@ -93,7 +93,9 @@ TPipedTransportTest_LDADD = \
# AllProtocolsTest
#
AllProtocolsTest_SOURCES = \
AllProtocolTests.cpp
AllProtocolTests.cpp \
AllProtocolTests.tcc \
GenericHelpers.h
AllProtocolsTest_LDADD = libtestgencpp.la