THRIFT-3949 missing make dist entry for compiler/cpp/test
This closes #1115
diff --git a/build/docker/scripts/make-dist.sh b/build/docker/scripts/make-dist.sh
index c728130..5a3681e 100755
--- a/build/docker/scripts/make-dist.sh
+++ b/build/docker/scripts/make-dist.sh
@@ -4,3 +4,6 @@
./bootstrap.sh
./configure $*
make dist
+tar xvf thrift-*.tar.gz
+cd thrift-*
+./build/docker/scripts/cmake.sh
diff --git a/compiler/cpp/Makefile.am b/compiler/cpp/Makefile.am
index caf9424..a239391 100644
--- a/compiler/cpp/Makefile.am
+++ b/compiler/cpp/Makefile.am
@@ -191,6 +191,7 @@
coding_standards.md \
README.md \
CMakeLists.txt \
+ test \
$(WINDOWS_DIST)
clean-local: