From 3b277a08cf3a2aea9d93350641bb644a494c7db6 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Thu, 22 Apr 2021 10:34:04 +0100 Subject: [PATCH] cmake: Fix missing directories error The man pages are still not built - otherwise all the doxygen documentation is built. Add back in missing "Bug List" to the Makefile version which is there in the cmake version. --- CMakeLists.txt | 4 ++++ doc/Makefile.am | 1 + 2 files changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 24fb7b4c..4340cfef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -579,6 +579,10 @@ if(ENABLE_DOCS) set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/doc/Doxyfile.in) set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile) + # Make necessary temporary directories + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/doc/man_tmp) + file(MAKE_DIRECTORY ${CMAKE_BINARY_DIR}/doc/man_html) + # request to configure the file configure_file( ${DOXYGEN_IN} diff --git a/doc/Makefile.am b/doc/Makefile.am index 5bc853a8..77db187c 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -66,6 +66,7 @@ man-page-build: man-page-start ## Close off the insert_file echo ' ' >> $(top_builddir)/doc/insert_file ;\ echo ' ' >> $(top_builddir)/doc/insert_file ;\ + echo ' ' >> $(top_builddir)/doc/insert_file ;\ ## Create and Update the DoxygenLayout.xml file $(DOXYGEN) -l ;\ $(SED) -i 's/