summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfarrell <jfarrell@apache.org>2014-07-10 09:14:51 -0400
committerjfarrell <jfarrell@apache.org>2014-07-10 09:14:51 -0400
commit8fd8c6366d99ceeccdbcbbe94e87ae247c8c66f6 (patch)
treef5b690ffab713fed9cdf1e640a92ca05575fb9fd
parentb0350dbc40d3bc442f02bbd5980e2c2b5d83194d (diff)
downloadthrift-8fd8c6366d99ceeccdbcbbe94e87ae247c8c66f6.tar.gz
THRIFT-2602:Fix missing dist files
Client: build process Patch: jfarrell Add all missing files to the dist package.
-rwxr-xr-xMakefile.am2
-rw-r--r--compiler/cpp/Makefile.am6
-rw-r--r--lib/Makefile.am17
-rwxr-xr-xlib/cpp/Makefile.am5
-rw-r--r--lib/csharp/Makefile.am7
-rw-r--r--lib/d/Makefile.am8
-rwxr-xr-xlib/d/test/Makefile.am1
-rw-r--r--lib/erl/Makefile.am8
-rw-r--r--lib/go/Makefile.am7
-rw-r--r--lib/go/test/Makefile.am11
-rw-r--r--lib/java/Makefile.am8
-rw-r--r--lib/lua/Makefile.am41
-rwxr-xr-xlib/nodejs/Makefile.am7
-rw-r--r--lib/perl/Makefile.am3
-rwxr-xr-xlib/php/Makefile.am4
-rwxr-xr-xlib/php/test/Makefile.am4
-rwxr-xr-xlib/py/Makefile.am8
-rwxr-xr-xlib/rb/Makefile.am20
-rwxr-xr-xtest/Makefile.am10
-rw-r--r--test/go/Makefile.am5
-rwxr-xr-xtutorial/Makefile.am4
-rwxr-xr-xtutorial/java/Makefile.am3
22 files changed, 129 insertions, 60 deletions
diff --git a/Makefile.am b/Makefile.am
index 6bc87541d..26ddab69a 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -43,6 +43,8 @@ cross: check
EXTRA_DIST = \
.travis.yml \
+ bower.json \
+ composer.json \
contrib \
debian \
doc \
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index d6cf4c312..601fd3263 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -21,10 +21,6 @@
# Please see doc/old-thrift-license.txt in the Thrift distribution for
# details.
-# Override Automake rule that forces .hh extension
-am__yacc_c2h = sed -e s/cc$$/h/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \
- -e s/c++$$/h++/ -e s/c$$/h/
-
AM_YFLAGS = -d
LIBS =
BUILT_SOURCES = thrifty.cc
@@ -42,6 +38,7 @@ thrift_SOURCES = src/main.cc \
src/globals.h \
src/main.h \
src/platform.h \
+ src/logging.h \
src/md5.h \
src/parse/t_doc.h \
src/parse/t_type.h \
@@ -111,6 +108,7 @@ WINDOWS_DIST = \
EXTRA_DIST = \
README.md \
+ CMakeLists.txt \
$(WINDOWS_DIST)
clean-local:
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 0ff7fa018..5751a2cf5 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -81,11 +81,12 @@ endif
# All of the libs that don't use Automake need to go in here
# so they will end up in our release tarballs.
EXTRA_DIST = \
- as3 \
- cocoa \
- d \
- delphi \
- javame \
- js \
- ocaml \
- st
+ as3 \
+ cocoa \
+ d \
+ delphi \
+ javame \
+ js \
+ ocaml \
+ st \
+ ts
diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am
index 7fcf9bd16..ab9108a48 100755
--- a/lib/cpp/Makefile.am
+++ b/lib/cpp/Makefile.am
@@ -100,7 +100,7 @@ endif
libthriftnb_la_SOURCES = src/thrift/server/TNonblockingServer.cpp \
src/thrift/async/TAsyncProtocolProcessor.cpp \
src/thrift/async/TEvhttpServer.cpp \
- src/thrift/async/TEvhttpClientChannel.cpp
+ src/thrift/async/TEvhttpClientChannel.cpp
libthriftz_la_SOURCES = src/thrift/transport/TZlibTransport.cpp
@@ -230,7 +230,8 @@ WINDOWS_DIST = \
libthrift.vcxproj \
libthrift.vcxproj.filters \
libthriftnb.vcxproj \
- libthriftnb.vcxproj.filters
+ libthriftnb.vcxproj.filters \
+ 3rdparty.props
EXTRA_DIST = \
README.md \
diff --git a/lib/csharp/Makefile.am b/lib/csharp/Makefile.am
index cbc003b01..069e48ce6 100644
--- a/lib/csharp/Makefile.am
+++ b/lib/csharp/Makefile.am
@@ -82,9 +82,9 @@ clean-local:
# run csharp tests?
# check:
-# cd test/ThriftTest && ./maketest.sh
+# cd test/ThriftTest && ./maketest.sh
# cd test/Multiplex && ./maketest.sh
-
+
EXTRA_DIST = \
$(THRIFTCODE) \
ThriftMSBuildTask \
@@ -93,4 +93,5 @@ EXTRA_DIST = \
src/Thrift.WP7.csproj \
src/Properties/AssemblyInfo.WP7.cs \
src/Transport/TSilverlightSocket.cs \
- test
+ test \
+ README.md
diff --git a/lib/d/Makefile.am b/lib/d/Makefile.am
index 04c06393f..759677aef 100644
--- a/lib/d/Makefile.am
+++ b/lib/d/Makefile.am
@@ -17,7 +17,13 @@
# under the License.
#
-SUBDIRS = . test
+AUTOMAKE_OPTIONS = serial-tests
+
+SUBDIRS = .
+
+if WITH_TESTS
+SUBDIRS += test
+endif
#
# Enumeration of all the public and private modules.
diff --git a/lib/d/test/Makefile.am b/lib/d/test/Makefile.am
index 44f2d66ac..04825833d 100755
--- a/lib/d/test/Makefile.am
+++ b/lib/d/test/Makefile.am
@@ -17,6 +17,7 @@
# under the License.
#
+AUTOMAKE_OPTIONS = serial-tests
# Thrift compiler rules
diff --git a/lib/erl/Makefile.am b/lib/erl/Makefile.am
index 6550b52fc..c87f998f4 100644
--- a/lib/erl/Makefile.am
+++ b/lib/erl/Makefile.am
@@ -78,6 +78,12 @@ clean:
maintainer-clean-local:
rm -rf ebin
-EXTRA_DIST = include src rebar rebar.config test
+EXTRA_DIST = \
+ include \
+ src \
+ rebar \
+ rebar.config \
+ test \
+ README.md
MAINTAINERCLEANFILES = Makefile.in
diff --git a/lib/go/Makefile.am b/lib/go/Makefile.am
index bb386cf48..be2a2e51e 100644
--- a/lib/go/Makefile.am
+++ b/lib/go/Makefile.am
@@ -17,8 +17,10 @@
# under the License.
#
+SUBDIRS = .
+
if WITH_TESTS
-SUBDIRS = test
+SUBDIRS += test
endif
install:
@@ -34,4 +36,5 @@ check-local:
all-local: check-local
EXTRA_DIST = \
- thrift
+ thrift \
+ README.md
diff --git a/lib/go/test/Makefile.am b/lib/go/test/Makefile.am
index 43f17a123..ec4011b2e 100644
--- a/lib/go/test/Makefile.am
+++ b/lib/go/test/Makefile.am
@@ -63,5 +63,14 @@ client: stubs
$(GO) run TestClient.go
EXTRA_DIST = \
+ tests \
+ BinaryKeyTest.thrift \
+ GoTagTest.thrift \
IncludesTest.thrift \
- NamespacedTest.thrift
+ MultiplexedProtocolTest.thrift \
+ NamespacedTest.thrift \
+ OnewayTest.thrift \
+ OptionalFieldsTest.thrift \
+ RefAnnotationFieldsTest.thrift \
+ ServicesTest.thrift \
+ TypedefFieldTest.thrift
diff --git a/lib/java/Makefile.am b/lib/java/Makefile.am
index ea0197832..cbec7afc3 100644
--- a/lib/java/Makefile.am
+++ b/lib/java/Makefile.am
@@ -17,8 +17,6 @@
# under the License.
#
-EXTRA_DIST = build.xml build.properties src test
-
export CLASSPATH
all-local:
@@ -36,3 +34,9 @@ clean-local:
check-local: all
$(ANT) $(ANT_FLAGS) test
+EXTRA_DIST = \
+ build.xml \
+ build.properties \
+ src \
+ test \
+ README.md \ No newline at end of file
diff --git a/lib/lua/Makefile.am b/lib/lua/Makefile.am
index 1c4296795..364a25d6b 100644
--- a/lib/lua/Makefile.am
+++ b/lib/lua/Makefile.am
@@ -19,21 +19,25 @@
SUBDIRS = .
-lib_LTLIBRARIES = libluasocket.la \
- libluabpack.la \
- libluabitwise.la \
- liblualongnumber.la
+lib_LTLIBRARIES = \
+ libluasocket.la \
+ libluabpack.la \
+ libluabitwise.la \
+ liblualongnumber.la
-libluasocket_la_SOURCES = src/luasocket.c \
- src/usocket.c
+libluasocket_la_SOURCES = \
+ src/luasocket.c \
+ src/usocket.c
+
+nobase_include_HEADERS = src/socket.h
libluasocket_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
libluasocket_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
-libluabpack_la_SOURCES = src/luabpack.c
+libluabpack_la_SOURCES = src/luabpack.c
libluabpack_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
-libluabpack_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
+libluabpack_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
libluabpack_la_LIBADD = liblualongnumber.la
libluabitwise_la_SOURCES = src/luabitwise.c
@@ -41,18 +45,19 @@ libluabitwise_la_SOURCES = src/luabitwise.c
libluabitwise_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
libluabitwise_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
-liblualongnumber_la_SOURCES = src/lualongnumber.c \
- src/longnumberutils.c
+liblualongnumber_la_SOURCES = \
+ src/lualongnumber.c \
+ src/longnumberutils.c
liblualongnumber_la_CPPFLAGS = $(AM_CPPFLAGS) -I/usr/include/lua5.2 -DLUA_COMPAT_MODULE
liblualongnumber_la_LDFLAGS = $(AM_LDFLAGS) -llua5.2 -lm
EXTRA_DIST = TBinaryProtocol.lua \
- TBufferedTransport.lua \
- TFramedTransport.lua \
- Thrift.lua \
- TMemoryBuffer.lua \
- TProtocol.lua \
- TServer.lua \
- TSocket.lua \
- TTransport.lua \ No newline at end of file
+ TBufferedTransport.lua \
+ TFramedTransport.lua \
+ Thrift.lua \
+ TMemoryBuffer.lua \
+ TProtocol.lua \
+ TServer.lua \
+ TSocket.lua \
+ TTransport.lua \ No newline at end of file
diff --git a/lib/nodejs/Makefile.am b/lib/nodejs/Makefile.am
index 5e298d4bf..bd381bfb6 100755
--- a/lib/nodejs/Makefile.am
+++ b/lib/nodejs/Makefile.am
@@ -29,3 +29,10 @@ check: deps
clean-local:
$(RM) -r test/gen-nodejs
+
+EXTRA_DIST = \
+ examples \
+ lib \
+ package.json \
+ test \
+ README.md
diff --git a/lib/perl/Makefile.am b/lib/perl/Makefile.am
index 8e0caae4a..067ed6900 100644
--- a/lib/perl/Makefile.am
+++ b/lib/perl/Makefile.am
@@ -52,4 +52,5 @@ EXTRA_DIST = \
lib/Thrift/Protocol.pm \
lib/Thrift/Server.pm \
lib/Thrift/Socket.pm \
- lib/Thrift/Transport.pm
+ lib/Thrift/Transport.pm \
+ README.md
diff --git a/lib/php/Makefile.am b/lib/php/Makefile.am
index 2b6b5fa97..c7fbad322 100755
--- a/lib/php/Makefile.am
+++ b/lib/php/Makefile.am
@@ -116,10 +116,12 @@ EXTRA_DIST = \
src/ext/thrift_protocol/config.w32 \
src/ext/thrift_protocol/php_thrift_protocol.cpp \
src/ext/thrift_protocol/php_thrift_protocol.h \
+ src/ext/thrift_protocol/run-tests.php \
src/Thrift.php \
src/TStringUtils.php \
thrift_protocol.ini \
- README.apache.md
+ README.apache.md \
+ README.md
MAINTAINERCLEANFILES = \
Makefile \
diff --git a/lib/php/test/Makefile.am b/lib/php/test/Makefile.am
index 1292b818a..1119d3f61 100755
--- a/lib/php/test/Makefile.am
+++ b/lib/php/test/Makefile.am
@@ -32,5 +32,7 @@ endif
clean-local:
$(RM) -r ./packages
-EXTRA_DIST = Test
+EXTRA_DIST = \
+ Test \
+ phpunit.xml
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
index e33bf1379..a504b5c86 100755
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -18,7 +18,6 @@
#
.NOTPARALLEL:
DESTDIR ?= /
-EXTRA_DIST = setup.py setup.cfg src compat
all-local:
$(PYTHON) setup.py build
@@ -34,3 +33,10 @@ clean-local:
$(RM) -r build
check-local: all
+
+EXTRA_DIST = \
+ compat \
+ setup.py \
+ setup.cfg \
+ src \
+ README.md
diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am
index 300f67689..2d0c12e80 100755
--- a/lib/rb/Makefile.am
+++ b/lib/rb/Makefile.am
@@ -17,16 +17,6 @@
# under the License.
#
-EXTRA_DIST = \
- Rakefile \
- Gemfile \
- thrift.gemspec \
- lib \
- ext \
- benchmark \
- script \
- spec
-
DESTDIR ?= /
if HAVE_BUNDLER
@@ -47,3 +37,13 @@ check-local: all
endif
+EXTRA_DIST = \
+ Rakefile \
+ Gemfile \
+ thrift.gemspec \
+ lib \
+ ext \
+ benchmark \
+ script \
+ spec \
+ README.md
diff --git a/test/Makefile.am b/test/Makefile.am
index 75630cc18..dddad1160 100755
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -56,9 +56,13 @@ check-local:
$(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
EXTRA_DIST = \
+ keys \
test.sh \
+ test.py \
+ tests.json \
cpp \
hs \
+ lua \
ocaml \
perl \
php \
@@ -77,8 +81,12 @@ EXTRA_DIST = \
JavaBeansTest.thrift \
ManyOptionals.thrift \
ManyTypedefs.thrift \
+ NameConflictTest.thrift \
OptionalRequiredTest.thrift \
+ Recursive.thrift \
+ ReuseObjects.thrift \
SmallTest.thrift \
StressTest.thrift \
ThriftTest.thrift \
- FastbinaryTest.py
+ FastbinaryTest.py \
+ README.md
diff --git a/test/go/Makefile.am b/test/go/Makefile.am
index a23402e01..59450cedb 100644
--- a/test/go/Makefile.am
+++ b/test/go/Makefile.am
@@ -27,7 +27,7 @@ ThriftTest.thrift: $(THRIFTTEST)
grep -v list.*map.*list.*map $(THRIFTTEST) > ThriftTest.thrift
# Thrift for GO has problems with complex map keys: THRIFT-2063
-gopath: $(THRIFT) ThriftTest.thrift
+gopath: $(THRIFT) ThriftTest.thrift
mkdir src/gen
$(THRIFTCMD) ThriftTest.thrift
$(THRIFTCMD) ../StressTest.thrift
@@ -54,3 +54,6 @@ genmock: gopath
GOPATH=`pwd` $(GO) install code.google.com/p/gomock/mockgen
GOPATH=`pwd` bin/mockgen -destination=src/common/mock_handler.go -package=common gen/thrifttest ThriftTest
+EXTRA_DIST = \
+ src/bin \
+ src/common
diff --git a/tutorial/Makefile.am b/tutorial/Makefile.am
index ccc9c4620..a0105236e 100755
--- a/tutorial/Makefile.am
+++ b/tutorial/Makefile.am
@@ -64,6 +64,7 @@ endif
# Any folders or files not listed above being added to SUBDIR need to be placed here in
# EXTRA_DIST to be included in the release
EXTRA_DIST = \
+ as3 \
csharp \
d \
delphi \
@@ -74,4 +75,5 @@ EXTRA_DIST = \
perl \
php \
shared.thrift \
- tutorial.thrift
+ tutorial.thrift \
+ README.md
diff --git a/tutorial/java/Makefile.am b/tutorial/java/Makefile.am
index aa8b80ccb..95908b154 100755
--- a/tutorial/java/Makefile.am
+++ b/tutorial/java/Makefile.am
@@ -41,4 +41,5 @@ tutorialclient: all
EXTRA_DIST = \
build.xml \
- src
+ src \
+ README.md