Merge pull request #2965 from bgilbert/distcheck
Have `make distcheck` verify CMake build succeeds
This commit is contained in:
1 file changed
+5
@@ -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
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user