cmake: fix icon install path

This commit is contained in:
Michael Gehring 2008-06-19 14:25:34 +02:00 committed by Julien Danjou
parent 08ad77d94c
commit 34a5a75860
2 changed files with 6 additions and 5 deletions

View File

@ -15,7 +15,7 @@ SET( AWE_LUA_FILES ${CMAKE_CURRENT_SOURCE_DIR}/tabulous.lua
SET( AWE_CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/awesomerc.lua SET( AWE_CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/awesomerc.lua
) )
SET( AWE_ICON_PATH ${CMAKE_CURRENT_SOURCE_DIR}/icons ) SET( AWE_ICON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/icons )
SET( AWE_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/awesome.c SET( AWE_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/awesome.c
${CMAKE_CURRENT_SOURCE_DIR}/client.c ${CMAKE_CURRENT_SOURCE_DIR}/client.c
@ -157,7 +157,7 @@ INSTALL( FILES ${AWE_MAN5_NAME}
DESTINATION ${AWESOME_MAN5_PATH} DESTINATION ${AWESOME_MAN5_PATH}
) )
INSTALL( DIRECTORY ${AWE_ICON_PATH} INSTALL( DIRECTORY ${AWE_ICON_DIR}
DESTINATION ${AWESOME_ICON_PATH} DESTINATION ${AWESOME_DATA_PATH}
) )

View File

@ -117,8 +117,9 @@ SET( AWESOME_COMPILE_BY $ENV{USER} )
SET( AWESOME_RELEASE ${VERSION} ) SET( AWESOME_RELEASE ${VERSION} )
SET( AWESOME_ETC ${CMAKE_INSTALL_PREFIX}/etc ) SET( AWESOME_ETC ${CMAKE_INSTALL_PREFIX}/etc )
SET( AWESOME_SHARE ${CMAKE_INSTALL_PREFIX}/share ) SET( AWESOME_SHARE ${CMAKE_INSTALL_PREFIX}/share )
SET( AWESOME_LUA_LIB_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib ) SET( AWESOME_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_AWE_NAME} )
SET( AWESOME_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/icons ) SET( AWESOME_LUA_LIB_PATH ${AWESOME_DATA_PATH}/lib )
SET( AWESOME_ICON_PATH ${AWESOME_DATA_PATH}/icons )
SET( AWESOME_CONF_PATH ${AWESOME_ETC}/${PROJECT_AWE_NAME} ) SET( AWESOME_CONF_PATH ${AWESOME_ETC}/${PROJECT_AWE_NAME} )
SET( AWESOME_MAN1_PATH ${AWESOME_SHARE}/man/man1 ) SET( AWESOME_MAN1_PATH ${AWESOME_SHARE}/man/man1 )
SET( AWESOME_MAN5_PATH ${AWESOME_SHARE}/man/man5 ) SET( AWESOME_MAN5_PATH ${AWESOME_SHARE}/man/man5 )