mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 13:26:16 +00:00
Force the creation of some soft-links
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
219299dc01
commit
c022f5c4f7
2 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ if(NOT NO_MARBLE)
|
||||||
set(MARBLE_LIBRARIES "")
|
set(MARBLE_LIBRARIES "")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
add_custom_target(link_marble_data ALL COMMAND rm -rf ./marbledata && ln -s ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata)
|
add_custom_target(link_marble_data ALL COMMAND rm -rf ./marbledata && ln -sf ${CMAKE_SOURCE_DIR}/marbledata ${CMAKE_BINARY_DIR}/marbledata)
|
||||||
else()
|
else()
|
||||||
message(STATUS "building without marble widget support")
|
message(STATUS "building without marble widget support")
|
||||||
add_definitions(-DNO_MARBLE)
|
add_definitions(-DNO_MARBLE)
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
add_custom_target(themeLink ALL
|
add_custom_target(themeLink ALL
|
||||||
COMMAND
|
COMMAND
|
||||||
rm -f ${CMAKE_BINARY_DIR}/theme &&
|
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)
|
if(NOT NO_PRINTING)
|
||||||
add_custom_target(printing_templatesLink ALL
|
add_custom_target(printing_templatesLink ALL
|
||||||
COMMAND
|
COMMAND
|
||||||
rm -f ${CMAKE_BINARY_DIR}/printing_templates &&
|
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()
|
endif()
|
||||||
if(NOT NO_DOCS)
|
if(NOT NO_DOCS)
|
||||||
|
@ -18,7 +18,7 @@ if(NOT NO_DOCS)
|
||||||
COMMAND
|
COMMAND
|
||||||
mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ &&
|
mkdir -p ${CMAKE_BINARY_DIR}/Documentation/ &&
|
||||||
rm -rf ${CMAKE_BINARY_DIR}/Documentation/images &&
|
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(
|
add_custom_target(
|
||||||
documentation ALL
|
documentation ALL
|
||||||
|
|
Loading…
Add table
Reference in a new issue