diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2016-01-07 15:33:28 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 08:04:31 -0800 |
commit | c022f5c4f71f3e7670ed458d714d96fd6e88c55b (patch) | |
tree | 8d48deb1510d3c998a1ffa4e67b11eaea358554f /cmake/Modules/RunOnBuildDir.cmake | |
parent | 219299dc0121cf23a7bf49a38af90a751ef186a4 (diff) | |
download | subsurface-c022f5c4f71f3e7670ed458d714d96fd6e88c55b.tar.gz |
Force the creation of some soft-links
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'cmake/Modules/RunOnBuildDir.cmake')
-rw-r--r-- | cmake/Modules/RunOnBuildDir.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/Modules/RunOnBuildDir.cmake b/cmake/Modules/RunOnBuildDir.cmake index bf674be19..854578e3d 100644 --- a/cmake/Modules/RunOnBuildDir.cmake +++ b/cmake/Modules/RunOnBuildDir.cmake @@ -3,13 +3,13 @@ add_custom_target(themeLink ALL COMMAND rm -f ${CMAKE_BINARY_DIR}/theme && - ln -s ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme + ln -sf ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme ) if(NOT NO_PRINTING) add_custom_target(printing_templatesLink ALL COMMAND rm -f ${CMAKE_BINARY_DIR}/printing_templates && - ln -s ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates + ln -sf ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates ) endif() if(NOT NO_DOCS) @@ -18,7 +18,7 @@ if(NOT NO_DOCS) COMMAND mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ && rm -rf ${CMAKE_BINARY_DIR}/Documentation/images && - ln -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images + ln -sf ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images ) add_custom_target( documentation ALL |