mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Code Cleanup
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
parent
b33059e08b
commit
4ae0ce0c60
1 changed files with 19 additions and 19 deletions
|
@ -294,27 +294,27 @@ target_link_libraries(export-html subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES
|
|||
|
||||
# install a few things so that one can run Subsurface from the build
|
||||
# directory
|
||||
add_custom_target(themeLink ALL
|
||||
add_custom_target(themeLink ALL
|
||||
COMMAND
|
||||
rm -f ${CMAKE_BINARY_DIR}/theme &&
|
||||
ln -s ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme
|
||||
)
|
||||
if(NOT NO_PRINTING)
|
||||
add_custom_target(printing_templatesLink ALL
|
||||
COMMAND
|
||||
rm -f ${CMAKE_BINARY_DIR}/theme &&
|
||||
ln -s ${CMAKE_SOURCE_DIR}/theme ${CMAKE_BINARY_DIR}/theme
|
||||
rm -f ${CMAKE_BINARY_DIR}/printing_templates &&
|
||||
ln -s ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates
|
||||
)
|
||||
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
|
||||
)
|
||||
endif()
|
||||
if(NOT NO_DOCS)
|
||||
add_custom_target(
|
||||
documentationLink ALL
|
||||
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
|
||||
)
|
||||
endif()
|
||||
endif()
|
||||
if(NOT NO_DOCS)
|
||||
add_custom_target(
|
||||
documentationLink ALL
|
||||
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
|
||||
)
|
||||
endif()
|
||||
if(NOT NO_DOCS)
|
||||
add_custom_target(
|
||||
documentation ALL
|
||||
|
|
Loading…
Reference in a new issue