THRIFT-2602:Fix missing dist files
authorjfarrell <jfarrell@apache.org>
Thu, 10 Jul 2014 13:14:51 +0000 (09:14 -0400)
committerjfarrell <jfarrell@apache.org>
Thu, 10 Jul 2014 13:14:51 +0000 (09:14 -0400)
Client: build process
Patch: jfarrell

Add all missing files to the dist package.

22 files changed:
Makefile.am
compiler/cpp/Makefile.am
lib/Makefile.am
lib/cpp/Makefile.am
lib/csharp/Makefile.am
lib/d/Makefile.am
lib/d/test/Makefile.am
lib/erl/Makefile.am
lib/go/Makefile.am
lib/go/test/Makefile.am
lib/java/Makefile.am
lib/lua/Makefile.am
lib/nodejs/Makefile.am
lib/perl/Makefile.am
lib/php/Makefile.am
lib/php/test/Makefile.am
lib/py/Makefile.am
lib/rb/Makefile.am
test/Makefile.am
test/go/Makefile.am
tutorial/Makefile.am
tutorial/java/Makefile.am

index 6bc8754..26ddab6 100755 (executable)
@@ -43,6 +43,8 @@ cross: check
 
 EXTRA_DIST = \
        .travis.yml \
+       bower.json \
+       composer.json \
        contrib \
        debian \
        doc \
index d6cf4c3..601fd32 100644 (file)
 # 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:
index 0ff7fa0..5751a2c 100644 (file)
@@ -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
index 7fcf9bd..ab9108a 100755 (executable)
@@ -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 \
index cbc003b..069e48c 100644 (file)
@@ -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
index 04c0639..759677a 100644 (file)
 # under the License.
 #
 
-SUBDIRS = . test
+AUTOMAKE_OPTIONS = serial-tests
+
+SUBDIRS = .
+
+if WITH_TESTS
+SUBDIRS += test
+endif
 
 #
 # Enumeration of all the public and private modules.
index 44f2d66..0482583 100755 (executable)
@@ -17,6 +17,7 @@
 # under the License.
 #
 
+AUTOMAKE_OPTIONS = serial-tests
 
 # Thrift compiler rules
 
index 6550b52..c87f998 100644 (file)
@@ -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
index bb386cf..be2a2e5 100644 (file)
 # 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
index 43f17a1..ec4011b 100644 (file)
@@ -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
index ea01978..cbec7af 100644 (file)
@@ -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
index 1c42967..364a25d 100644 (file)
 
 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
index 5e298d4..bd381bf 100755 (executable)
@@ -29,3 +29,10 @@ check: deps
 
 clean-local:
        $(RM) -r test/gen-nodejs
+
+EXTRA_DIST = \
+       examples \
+       lib \
+       package.json \
+       test \
+       README.md
index 8e0caae..067ed69 100644 (file)
@@ -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
index 2b6b5fa..c7fbad3 100755 (executable)
@@ -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 \
index 1292b81..1119d3f 100755 (executable)
@@ -32,5 +32,7 @@ endif
 clean-local:
        $(RM) -r ./packages
 
-EXTRA_DIST = Test
+EXTRA_DIST = \
+       Test \
+       phpunit.xml
 
index e33bf13..a504b5c 100755 (executable)
@@ -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
index 300f676..2d0c12e 100755 (executable)
 # 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
index 75630cc..dddad11 100755 (executable)
@@ -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
index a23402e..59450ce 100644 (file)
@@ -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
index ccc9c46..a010523 100755 (executable)
@@ -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
index aa8b80c..95908b1 100755 (executable)
@@ -41,4 +41,5 @@ tutorialclient: all
 
 EXTRA_DIST = \
        build.xml \
-       src
+       src \
+       README.md