Thrift: Prep for release.
Summary:
- make dist is no fun. Had to add a lot of stuff to Makefile.am to
make sure stuff got included in the tarball.
- Added a permanent NEWS file with the release notes for this release.
- clean.sh removes ylwrap also.
- Gave it a real version for make dist.
- Added ACLOCAL_AMFLAGS to lib/cpp/Makefile.am to make it easier to
work on configure.ac.
- Made concurrency_test a non-installed binary because
no one wants to install it.
- Dropped some symlinks that were annoying make dist.
- Updated README.
Test Plan:
./bootstrap.sh && ./configure && make dist
Compared contents of tarball to source tree.
Did this from a fresh git tree so no gross untracked files would be around.
On devrs: ./bootstrap.sh && ./configure && make install DESTDIR=/tmp/relinst1
Made sure concurrency_test was built but not installed.
Checked zlib URL with firefox.
Reviewed By: mcslee
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665274 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am
index 7b1f1b0..6df9ab4 100644
--- a/lib/cpp/Makefile.am
+++ b/lib/cpp/Makefile.am
@@ -1,3 +1,5 @@
+ACLOCAL_AMFLAGS = -I ./aclocal
+
lib_LTLIBRARIES = libthrift.la
## We only build the extra libraries if we have the dependencies,
## but we install all of the headers unconditionally.
@@ -55,6 +57,7 @@
include_thrift_HEADERS = \
config.h \
src/Thrift.h \
+ src/TReflectionLocal.h \
src/reflection_limited_types.h \
src/TProcessor.h \
src/TLogging.h
@@ -73,7 +76,7 @@
include_protocoldir = $(include_thriftdir)/protocol
include_protocol_HEADERS = \
src/protocol/TBinaryProtocol.h \
- src/protocol/TDenseProtocol.cpp \
+ src/protocol/TDenseProtocol.h \
src/protocol/TDebugProtocol.h \
src/protocol/TOneWayProtocol.h \
src/protocol/TProtocolException.h \
@@ -105,7 +108,7 @@
src/processor/PeekProcessor.h \
src/processor/StatsProcessor.h
-bin_PROGRAMS = concurrency_test
+noinst_PROGRAMS = concurrency_test
concurrency_test_SOURCES = src/concurrency/test/Tests.cpp \
src/concurrency/test/ThreadFactoryTests.h \
@@ -116,3 +119,5 @@
concurrency_test_CXXFLAGS = $(common_cxxflags)
concurrency_test_LDFLAGS = $(common_ldflags)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh LICENSE
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
index 7db5c3b..7d47430 100644
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -6,3 +6,5 @@
#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
install-exec-hook:
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
+
+EXTRA_DIST = bootstrap.sh cleanup.sh setup.py LICENSE src