Merge pull request #2965 from bgilbert/distcheck

Have `make distcheck` verify CMake build succeeds
This commit is contained in:
Tim Kientzle authored and GitHub committed 2026-04-18 21:18:33 -07:00
commit 6411fc8500
1 file changed
+5
+5
View File
@@ -64,6 +64,11 @@ dist-hook:
-rm -f $(distdir)/*/Makefile $(distdir)/*/*/Makefile
cd $(distdir)/doc && /bin/sh update.sh
# Verify dist includes all files needed by CMake
distcheck-hook:
mkdir $(distdir)/_build/cmake
cd $(distdir)/_build/cmake && cmake ../.. && make && make test
#
# Extra rules for cleanup
#