]> granicus.if.org Git - libexpat/commitdiff
Have CMake call "$(MAKE) -C doc xmlwf.1"
authorSebastian Pipping <sebastian@pipping.org>
Sun, 5 Jun 2016 13:17:05 +0000 (15:17 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 5 Jun 2016 13:17:07 +0000 (15:17 +0200)
.. so that the man page is built if missing (e.g. for a Git clone)

expat/CMakeLists.txt

index 5cdd3019e1f91133492e4780c3cba0806fcaa0da..839ab447d59a5749baa9c32b4df9c1716e2b0821 100755 (executable)
@@ -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)\r
 \r
 \r
+add_custom_command(TARGET expat PRE_BUILD COMMAND $(MAKE) -C doc xmlwf.1)\r
 \r
 if(BUILD_tools AND NOT WINCE)\r
     set(xmlwf_SRCS\r