Commit 5dbbfd4f authored by Ralph Giles's avatar Ralph Giles
Browse files

Run the cmake build as part of make distcheck.

Verify that the CMake build works from a release tarball.
This will give coverage for problems with part of the
CMake build description not being included in the
source package. We still consider the `make dist`
output from the GNU autotools build to be canonical.
parent 105eaed9
......@@ -26,6 +26,17 @@ dist-hook:
echo "OK"; \
fi; \
# Verify cmake works with the dist tarball.
cmake_builddir = _build.cmake
$(RM) -rf $(cmake_builddir)
mkdir $(cmake_builddir)
cd $(cmake_builddir) && cmake ../$(top_distdir)
cd $(cmake_builddir) && cmake --build .
cd $(cmake_builddir) && ctest
$(RM) -rf $(cmake_builddir)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment