Code Cleanup

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
This commit is contained in:
Tomaz Canabrava 2015-11-17 19:25:20 -02:00 committed by Dirk Hohndel
parent b33059e08b
commit 4ae0ce0c60

View file

@ -294,19 +294,19 @@ target_link_libraries(export-html subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES
# install a few things so that one can run Subsurface from the build # install a few things so that one can run Subsurface from the build
# directory # directory
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 -s ${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 -s ${CMAKE_SOURCE_DIR}/printing_templates ${CMAKE_BINARY_DIR}/printing_templates
) )
endif() endif()
if(NOT NO_DOCS) if(NOT NO_DOCS)
add_custom_target( add_custom_target(
documentationLink ALL documentationLink ALL
COMMAND COMMAND
@ -314,7 +314,7 @@ target_link_libraries(export-html subsurface_corelib ${SUBSURFACE_LINK_LIBRARIES
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 -s ${CMAKE_SOURCE_DIR}/Documentation/images ${CMAKE_BINARY_DIR}/Documentation/images
) )
endif() endif()
if(NOT NO_DOCS) if(NOT NO_DOCS)
add_custom_target( add_custom_target(
documentation ALL documentation ALL