]> git.pld-linux.org Git - packages/awesome.git/blob - normalize-icon-path-names.patch
- release 3
[packages/awesome.git] / normalize-icon-path-names.patch
1 ---
2  CMakeLists.txt |    3 ++-
3  1 files changed, 2 insertions(+), 1 deletions(-)
4
5 diff --git a/CMakeLists.txt b/CMakeLists.txt
6 index 64be9b9..472bec2 100644
7 --- a/CMakeLists.txt
8 +++ b/CMakeLists.txt
9 @@ -244,14 +244,15 @@ endif()
10  
11  # {{{ Theme icons
12  file(GLOB icon_sources RELATIVE ${SOURCE_DIR} ${SOURCE_DIR}/themes/*/titlebar/*.png)
13 -set(ALL_ICONS ${icon_sources})
14  
15  foreach(icon ${icon_sources})
16      # Copy all icons to the build dir to simplify the following code.
17      # Source paths are interpreted relative to ${SOURCE_DIR}, target paths
18      # relative to ${BUILD_DIR}.
19      get_filename_component(icon_path ${icon} PATH)
20 +    get_filename_component(icon_name ${icon} NAME)
21      file(COPY ${icon} DESTINATION ${icon_path})
22 +    set(ALL_ICONS ${ALL_ICONS} "${icon_path}/${icon_name}")
23  endforeach()
24  
25  macro(a_icon_convert match replacement input)
26 -- 
27 1.7.3.4
28
This page took 0.04293 seconds and 3 git commands to generate.