cmake: copy images / icons into the build Documentation folder

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-04-24 11:02:45 -07:00
parent 541e67ba41
commit 38ba7177c7

View file

@ -377,7 +377,12 @@ if(NOT NO_TESTS)
endif() endif()
if(NOT NO_DOCS) if(NOT NO_DOCS)
add_custom_target(documentation ALL mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ \\; make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc) add_custom_target(
documentation ALL
mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ \\;
cp -a ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/ \\;
make -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc
)
endif() endif()
# install Subsurface # install Subsurface