mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-16 07:47:22 +01:00
* Fixed install path
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8d1695c51e
commit
cc79b387fc
2 changed files with 10 additions and 7 deletions
|
@ -121,10 +121,10 @@ IF(AWESOME_GENERATE_MAN)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
INSTALL(TARGETS ${PROJECT_AWE_NAME} ${PROJECT_AWECLIENT_NAME} RUNTIME DESTINATION bin)
|
INSTALL(TARGETS ${PROJECT_AWE_NAME} ${PROJECT_AWECLIENT_NAME} RUNTIME DESTINATION bin)
|
||||||
INSTALL(FILES ${AWE_LUA_FILES} DESTINATION ${AWESOME_LUA_LIB_PATH})
|
INSTALL(FILES ${AWE_LUA_FILES} DESTINATION ${AWESOME_REL_LUA_LIB_PATH})
|
||||||
INSTALL(FILES ${AWE_CONF_FILES} DESTINATION ${AWESOME_CONF_PATH})
|
INSTALL(FILES ${AWE_CONF_FILES} DESTINATION ${AWESOME_REL_CONF_PATH})
|
||||||
INSTALL(FILES ${AWE_MAN1_NAME} DESTINATION ${AWESOME_MAN1_PATH})
|
INSTALL(FILES ${AWE_MAN1_NAME} DESTINATION ${AWESOME_MAN1_PATH})
|
||||||
INSTALL(FILES ${AWE_MAN5_NAME} DESTINATION ${AWESOME_MAN5_PATH})
|
INSTALL(FILES ${AWE_MAN5_NAME} DESTINATION ${AWESOME_MAN5_PATH})
|
||||||
INSTALL(DIRECTORY ${AWE_ICON_DIR} DESTINATION ${AWESOME_DATA_PATH})
|
INSTALL(DIRECTORY ${AWE_ICON_DIR} DESTINATION ${AWESOME_REL_ICON_PATH})
|
||||||
|
|
||||||
# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
# vim: filetype=cmake:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80
|
||||||
|
|
|
@ -116,12 +116,15 @@ SET(AWESOME_COMPILE_BY $ENV{USER} )
|
||||||
SET(AWESOME_RELEASE ${VERSION} )
|
SET(AWESOME_RELEASE ${VERSION} )
|
||||||
SET(AWESOME_ETC etc )
|
SET(AWESOME_ETC etc )
|
||||||
SET(AWESOME_SHARE share )
|
SET(AWESOME_SHARE share )
|
||||||
SET(AWESOME_DATA_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME} )
|
SET(AWESOME_LUA_LIB_PATH ${CMAKE_INSTALL_PREFIX}/${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib )
|
||||||
SET(AWESOME_LUA_LIB_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib )
|
SET(AWESOME_ICON_PATH ${CMAKE_INSTALL_PREFIX}/${AWESOME_SHARE}/${PROJECT_AWE_NAME}/icons )
|
||||||
SET(AWESOME_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/icons )
|
SET(AWESOME_CONF_PATH ${CMAKE_INSTALL_PREFIX}/${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 )
|
||||||
|
SET(AWESOME_REL_LUA_LIB_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib )
|
||||||
|
SET(AWESOME_REL_CONF_PATH ${AWESOME_ETC}/${PROJECT_AWE_NAME} )
|
||||||
|
SET(AWESOME_REL_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME} )
|
||||||
|
|
||||||
|
|
||||||
# Configure awesome config.h from template
|
# Configure awesome config.h from template
|
||||||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
|
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
|
||||||
|
|
Loading…
Reference in a new issue