[gtk+/gtk-3-14] Also bundle icons in status/ as resources



commit 420d7414bfb6ac65d830278e98b8d417f17f212c
Author: Lars Uebernickel <lars uebernickel canonical com>
Date:   Wed Jan 28 11:42:30 2015 +0000

    Also bundle icons in status/ as resources

 gtk/Makefile.am |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 4a98b8d..96c651a 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1405,10 +1405,13 @@ gtk.gresource.xml: Makefile.am
          n=`basename $$f`; \
          $(ECHO) "    <file compressed=\"true\">ui/$$n</file>" >> $@; \
        done; \
-       for s in 16x16 22x22 24x24 32x32; do \
-         for f in $(srcdir)/resources/icons/$$s/actions/*.png; do \
-           n=`basename $$f`; \
-           $(ECHO) "    <file>icons/$$s/actions/$$n</file>" >> $@; \
+       shopt -s nullglob; \
+       for s in 16x16 22x22 24x24 32x32 48x48; do \
+         for c in actions status; do \
+           for f in $(srcdir)/resources/icons/$$s/$$c/*.png; do \
+             n=`basename $$f`; \
+             $(ECHO) "    <file>icons/$$s/$$c/$$n</file>" >> $@; \
+           done; \
          done; \
        done; \
        $(ECHO) "  </gresource>" >> $@; \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]