diff --git a/src/site/CMakeLists.txt b/src/site/CMakeLists.txt index 0529236dd..25aef6bbd 100644 --- a/src/site/CMakeLists.txt +++ b/src/site/CMakeLists.txt @@ -41,6 +41,10 @@ set(APR_UTIL_RELEASE_VERSION "1.6.3") set(APR_UTIL_SOURCE_PACKAGE_FILE_NAME "apr-util-${APR_UTIL_RELEASE_VERSION}") set(APR_UTIL_SOURCE_PACKAGE_FILE_URL "${APACHE_APR_SOURCE_PACKAGE_URL}/${APR_UTIL_SOURCE_PACKAGE_FILE_NAME}") +string(TIMESTAMP SITE_PUBLISHED_DATE "%a %b %d %Y" UTC) +configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/doxy/set-site-published-date.js.in" + "${CMAKE_CURRENT_BINARY_DIR}/set-site-published-date.js" ) + configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/doxy/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ) diff --git a/src/site/doxy/Doxyfile.in b/src/site/doxy/Doxyfile.in index 6a9bd2c07..8de9efcbe 100644 --- a/src/site/doxy/Doxyfile.in +++ b/src/site/doxy/Doxyfile.in @@ -1355,7 +1355,7 @@ HTML_EXTRA_STYLESHEET = src/site/doxy/customdoxygen.css # files will be copied as-is; there are no commands or markers available. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_FILES = +HTML_EXTRA_FILES = ${CMAKE_CURRENT_BINARY_DIR}/set-site-published-date.js # The HTML_COLORSTYLE tag can be used to specify if the generated HTML output # should be rendered with a dark or light theme. diff --git a/src/site/doxy/footer.html b/src/site/doxy/footer.html index 5ff66e9cd..192e6897e 100644 --- a/src/site/doxy/footer.html +++ b/src/site/doxy/footer.html @@ -1,4 +1,4 @@ - +
+