Tue, 20 Jun 2023 19:00:52 +0200
add header and footer to list of build dependencies
docs/src/CMakeLists.txt | file | annotate | diff | comparison | revisions |
--- a/docs/src/CMakeLists.txt Tue Jun 20 18:30:13 2023 +0200 +++ b/docs/src/CMakeLists.txt Tue Jun 20 19:00:52 2023 +0200 @@ -52,6 +52,7 @@ COMMAND ${PANDOC_EXECUTABLE} ${PANDOC_ARGS} -o ${dest_file} ${source_file} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} MAIN_DEPENDENCY ${source_file} + DEPENDS header.html footer.html ) endforeach() @@ -60,7 +61,7 @@ COMMAND ${PANDOC_EXECUTABLE} -c ucx.css -B header-ucx2.html -A footer.html -T 'UAP Common Extensions' -o ${PANDOC_DESTDIR}/modules-ucx2.html modules-ucx2.md WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DEPENDS modules-ucx2.md + DEPENDS modules-ucx2.md header-ucx2.html footer.html COMMENT "Adding UCX 2.1 HTML documentation." )