From: Sebastian Pipping Date: Sun, 5 Jun 2016 13:17:05 +0000 (+0200) Subject: Have CMake call "$(MAKE) -C doc xmlwf.1" X-Git-Tag: R_2_2_0~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cfcdc3f40189799ac13ba1406989cc711da38ae;p=libexpat Have CMake call "$(MAKE) -C doc xmlwf.1" .. so that the man page is built if missing (e.g. for a Git clone) --- diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index 5cdd3019..839ab447 100755 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -84,6 +84,7 @@ install(FILES lib/expat.h lib/expat_external.h DESTINATION include) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/expat.pc DESTINATION lib/pkgconfig) +add_custom_command(TARGET expat PRE_BUILD COMMAND $(MAKE) -C doc xmlwf.1) if(BUILD_tools AND NOT WINCE) set(xmlwf_SRCS