From c85bed04891d5b2ba26f6dabf8d49d71b63ae64b Mon Sep 17 00:00:00 2001 From: Dylan Simon Date: Wed, 7 Mar 2018 15:18:36 -0500 Subject: [PATCH] [doc] Link doc files from sources to build dir Copied from triqs build; needed for separate compilation --- doc/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 01597803..ef5ee2f3 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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 # ---------------------------------