From 5cfcdc3f40189799ac13ba1406989cc711da38ae Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 5 Jun 2016 15:17:05 +0200 Subject: [PATCH] Have CMake call "$(MAKE) -C doc xmlwf.1" .. so that the man page is built if missing (e.g. for a Git clone) --- expat/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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