forked from osmocom/wireshark
Add a cmake build to distcheck to ensure that we distribute all the files
necessary to do a cmake build. Note that this does mean that anyone doing "make distcheck" needs cmake. Bug: 10331 Change-Id: I4360a305aa7f6ffc1b5a5dffad24b928eed45016 Reviewed-on: https://code.wireshark.org/review/3326 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
This commit is contained in:
parent
644b2e7c69
commit
70a6d204a7
11
Makefile.am
11
Makefile.am
|
@ -1336,3 +1336,14 @@ if HAVE_DOXYGEN
|
|||
zip -rq wsar_html.zip wsar_html
|
||||
endif
|
||||
|
||||
# Verify that our source distribution has enough files to do a cmake build.
|
||||
# Note that this means anyone doing a distcheck has to have cmake installed.
|
||||
distcheck-hook:
|
||||
cd $(distdir) && \
|
||||
chmod 755 . && \
|
||||
mkdir _cmake_build && \
|
||||
cd _cmake_build && \
|
||||
cmake .. && \
|
||||
$(MAKE) && \
|
||||
cd .. && \
|
||||
rm -rf _cmake_build
|
||||
|
|
Loading…
Reference in New Issue