You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
584 B
19 lines
584 B
15 years ago
|
IF($ENV{DESTDIR} MATCHES ".+")
|
||
|
SET(DESTDIR $ENV{DESTDIR})
|
||
|
ELSE($ENV{DESTDIR} MATCHES ".+")
|
||
|
SET(DESTDIR "")
|
||
|
ENDIF($ENV{DESTDIR} MATCHES ".+")
|
||
|
|
||
|
SET(COMMONLINK "${DESTDIR}${CMAKE_INSTALL_PREFIX}/share/doc/HTML/en/kdesvn/common")
|
||
|
|
||
|
MESSAGE(STATUS "Generating ${COMMONLINK}")
|
||
|
|
||
|
EXECUTE_PROCESS(
|
||
|
COMMAND "rm" "-f" "common"
|
||
|
COMMAND ln "-s" "../common" "common"
|
||
|
WORKING_DIRECTORY "${DESTDIR}/${CMAKE_INSTALL_PREFIX}/share/doc/HTML/en/kdesvn"
|
||
|
)
|
||
|
|
||
|
SET(CMAKE_INSTALL_MANIFEST_FILES ${CMAKE_INSTALL_MANIFEST_FILES} "${CMAKE_INSTALL_PREFIX}/share/doc/HTML/en/kdesvn/common")
|
||
|
|