blob: 3c64ed4215dd0937c78963d211ff308a64c488d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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")
|