Unify documentation for webpage build
[alexxy/gromacs.git] / docs / configure-html.cmake.in
1 # Helper script that defers configure_file until build time, so that
2 # changes to the files configured for the html files don't trigger a
3 # global reconfigure
4
5 set(SRC_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
6 set(BIN_DIR "@CMAKE_CURRENT_BINARY_DIR@")
7
8 set(PROJECT_VERSION "@PROJECT_VERSION@")
9 set(DOWNLOAD_SECTION "@DOWNLOAD_SECTION@")
10
11 configure_file(${SRC_DIR}/index.md
12     ${BIN_DIR}/index.md @ONLY)