3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-07 06:33:48 +01:00

[doc] Link doc files from sources to build dir

Copied from triqs build; needed for separate compilation
This commit is contained in:
Dylan Simon 2018-03-07 15:18:36 -05:00
parent 7599336e55
commit c85bed0489

View File

@ -1,6 +1,9 @@
# generate the conf.py
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/conf.py.in ${CMAKE_CURRENT_BINARY_DIR}/conf.py @ONLY)
set(EXT_FOR_DOC "rst png txt css_t conf css js gif jpg py html bib sh")
execute_process(COMMAND cp_rs ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${EXT_FOR_DOC})
# ---------------------------------
# Top Sphinx target
# ---------------------------------