From ae36478eed54edc7263f5044a90857cd95f9bf11 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 22 Jan 2007 16:15:49 +0000 Subject: Stupid me :( Now it creates link svn path=/trunk/KDE/kdelibs/; revision=626254 --- modules/KDE4Macros.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index ddedb91f..ed543621 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -237,8 +237,7 @@ macro (KDE4_INSTALL_HANDBOOK) if (UNIX) # write a cmake script file which creates the symlink file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_doc_symlink.cmake "exec_program(${CMAKE_COMMAND} ARGS -E create_symlink ${HTML_INSTALL_DIR}/en/common ${HTML_INSTALL_DIR}/en/${dirname}/common )\n") - # and add it as post-install script to any of the installed targets, so it will be executed during "make install" - ADD_CUSTOM_TARGET(CreateSymlinks POST_INSTALL_SCRIPT ALL DEPENDS ${HTML_INSTALL_DIR}/en/${dirname}/common) + install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_doc_symlink.cmake) endif (UNIX) endmacro (KDE4_INSTALL_HANDBOOK ) -- cgit v1.2.1