Skip to content
Snippets Groups Projects
Commit 1437ba8a authored by Simon Praetorius's avatar Simon Praetorius
Browse files

Merge branch 'issue/rst-configure-file' into 'master'

Do not configure non-template rst files

See merge request !1300
parents f38b358f 6df8df2d
No related branches found
No related tags found
1 merge request!1300Do not configure non-template rst files
Pipeline #65533 passed with warnings
Pipeline: Dune Nightly Test

#65535

    ......@@ -58,6 +58,10 @@ In order to build the DUNE core modules you need at least the following software
    ## Build System
    - Documentation files in `doc/buildsystem/${ModuleName}.rst` are now only copied.
    Previously, they were configured through the CMake function `configure_file()`
    as a cmake template file.
    - Try to find SuiteSparse during configuration.
    - The function `dune_add_library(<lib> ...)` now requires to provide `EXPORT_NAME` or `NO_EXPORT`.
    ......
    ......@@ -131,7 +131,7 @@ function(dune_cmake_sphinx_doc)
    # add it to index.rst then.
    set(CMAKE_DOC_DEPENDENCIES "${CMAKE_DOC_DEPENDENCIES} ${dep}\n")
    # ... and copy the rst file to the current build.
    configure_file(${RSTFILE} ${CMAKE_CURRENT_BINARY_DIR}/${dep}.rst)
    configure_file(${RSTFILE} ${CMAKE_CURRENT_BINARY_DIR}/${dep}.rst COPYONLY)
    endif()
    endforeach()
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment