aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2018-11-03 06:55:48 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-11-18 06:33:27 +0800
commit5f32cc508f678cc4f926f2bae1f6141a35b48166 (patch)
treea47b83e96eee1152d79ca0cc19401c23f8b9b880 /cmake
parent4508d9e6fff6a250c76f2e77ad93cd932bf27966 (diff)
downloadsubsurface-5f32cc508f678cc4f926f2bae1f6141a35b48166.tar.gz
Add symlink for Documentation/mobile-images
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Modules/RunOnBuildDir.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/Modules/RunOnBuildDir.cmake b/cmake/Modules/RunOnBuildDir.cmake
index 854578e3d..5158dcaf4 100644
--- a/cmake/Modules/RunOnBuildDir.cmake
+++ b/cmake/Modules/RunOnBuildDir.cmake
@@ -18,7 +18,8 @@ if(NOT NO_DOCS)
COMMAND
mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ &&
rm -rf ${CMAKE_BINARY_DIR}/Documentation/images &&
- ln -sf ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images
+ ln -sf ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images &&
+ ln -sf ${CMAKE_SOURCE_DIR}/Documentation/mobile-images ${CMAKE_BINARY_DIR}/Documentation/mobile-images
)
add_custom_target(
documentation ALL
@@ -26,4 +27,4 @@ if(NOT NO_DOCS)
${CMAKE_MAKE_PROGRAM} -C ${CMAKE_SOURCE_DIR}/Documentation OUT=${CMAKE_BINARY_DIR}/Documentation/ doc
DEPENDS documentationLink
)
-endif() \ No newline at end of file
+endif()