View | Details | Raw Unified | Return to bug 155152
Collapse All | Expand All

(-)CMakeLists.txt (-2 / +5 lines)
Lines 274-287 Link Here
274
274
275
# {{{ Theme icons
275
# {{{ Theme icons
276
file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
276
file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
277
set(ALL_ICONS ${icon_sources})
278
277
279
foreach(icon ${icon_sources})
278
foreach(icon ${icon_sources})
280
    # Copy all icons to the build dir to simplify the following code.
279
    # Copy all icons to the build dir to simplify the following code.
281
    # Source paths are interpreted relative to ${SOURCE_DIR}, target paths
280
    # Source paths are interpreted relative to ${SOURCE_DIR}, target paths
282
    # relative to ${BUILD_DIR}.
281
    # relative to ${BUILD_DIR}.
283
    get_filename_component(icon_path ${icon} PATH)
282
    get_filename_component(icon_path ${icon} PATH)
283
    get_filename_component(icon_name ${icon} NAME)
284
    file(COPY ${icon} DESTINATION ${icon_path})
284
    file(COPY ${icon} DESTINATION ${icon_path})
285
    set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
285
endforeach()
286
endforeach()
286
287
287
macro(a_icon_convert match replacement input)
288
macro(a_icon_convert match replacement input)
Lines 343-349 Link Here
343
    PATTERN "*.in" EXCLUDE)
344
    PATTERN "*.in" EXCLUDE)
344
install(DIRECTORY ${SOURCE_DIR}/themes DESTINATION ${AWESOME_DATA_PATH}
345
install(DIRECTORY ${SOURCE_DIR}/themes DESTINATION ${AWESOME_DATA_PATH}
345
    PATTERN "*.in" EXCLUDE)
346
    PATTERN "*.in" EXCLUDE)
346
install(FILES ${AWE_DOC_FILES} DESTINATION ${AWESOME_DOC_PATH})
347
if(INSTALL_PORTDOCS)
348
    install(FILES ${AWE_DOC_FILES} DESTINATION ${AWESOME_DOC_PATH})
349
endif()
347
install(FILES "awesome.desktop" DESTINATION ${AWESOME_XSESSION_PATH})
350
install(FILES "awesome.desktop" DESTINATION ${AWESOME_XSESSION_PATH})
348
if(GENERATE_LUADOC)
351
if(GENERATE_LUADOC)
349
    install(DIRECTORY ${BUILD_DIR}/luadoc DESTINATION ${AWESOME_DOC_PATH})
352
    install(DIRECTORY ${BUILD_DIR}/luadoc DESTINATION ${AWESOME_DOC_PATH})

Return to bug 155152