add header and footer to list of build dependencies

Tue, 20 Jun 2023 19:00:52 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 20 Jun 2023 19:00:52 +0200
changeset 715
ab9d03750630
parent 714
34565d898f1f
child 716
bab81cf591a5

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."
 )
 

mercurial