cmake: install LICENSE/README/...
This commit is contained in:
parent
94c0b483fb
commit
8fdd5fa62e
|
@ -19,6 +19,12 @@ SET(AWE_CONF_FILES ${CMAKE_CURRENT_SOURCE_DIR}/awesomerc.lua)
|
||||||
|
|
||||||
SET(AWE_ICON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/icons)
|
SET(AWE_ICON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/icons)
|
||||||
|
|
||||||
|
SET(AWE_DOC_FILES
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/BUGS
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/README
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/LICENSE)
|
||||||
|
|
||||||
SET(AWE_SRCS
|
SET(AWE_SRCS
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/awesome.c
|
${CMAKE_CURRENT_SOURCE_DIR}/awesome.c
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/client.c
|
${CMAKE_CURRENT_SOURCE_DIR}/client.c
|
||||||
|
@ -146,6 +152,7 @@ IF(DOXYGEN_EXECUTABLE)
|
||||||
ADD_CUSTOM_TARGET(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/awesome.doxygen)
|
ADD_CUSTOM_TARGET(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/awesome.doxygen)
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
# {{{ Installation.
|
||||||
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_REL_LUA_LIB_PATH})
|
INSTALL(FILES ${AWE_LUA_FILES} DESTINATION ${AWESOME_REL_LUA_LIB_PATH})
|
||||||
INSTALL(FILES ${AWE_CONF_FILES} DESTINATION ${AWESOME_REL_CONF_PATH})
|
INSTALL(FILES ${AWE_CONF_FILES} DESTINATION ${AWESOME_REL_CONF_PATH})
|
||||||
|
@ -154,5 +161,7 @@ IF(GENERATE_MANPAGES)
|
||||||
INSTALL(FILES ${AWE_MAN5_NAME} DESTINATION ${AWESOME_MAN5_PATH})
|
INSTALL(FILES ${AWE_MAN5_NAME} DESTINATION ${AWESOME_MAN5_PATH})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
INSTALL(DIRECTORY ${AWE_ICON_DIR} DESTINATION ${AWESOME_REL_ICON_PATH})
|
INSTALL(DIRECTORY ${AWE_ICON_DIR} DESTINATION ${AWESOME_REL_ICON_PATH})
|
||||||
|
INSTALL(FILES ${AWE_DOC_FILES} DESTINATION ${AWESOME_REL_DOC_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
|
||||||
|
|
|
@ -175,6 +175,7 @@ SET(AWESOME_MAN5_PATH ${AWESOME_SHARE}/man/man5 )
|
||||||
SET(AWESOME_REL_LUA_LIB_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME}/lib )
|
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_CONF_PATH ${AWESOME_ETC}/${PROJECT_AWE_NAME} )
|
||||||
SET(AWESOME_REL_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME} )
|
SET(AWESOME_REL_ICON_PATH ${AWESOME_SHARE}/${PROJECT_AWE_NAME} )
|
||||||
|
SET(AWESOME_REL_DOC_PATH ${AWESOME_SHARE}/doc/${PROJECT_AWE_NAME})
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# {{{ Configure files.
|
# {{{ Configure files.
|
||||||
|
|
Loading…
Reference in New Issue