[gtk+] build: Don't break windows build



commit 27901c779457af1eb21e33eefc5f3d86f5405004
Author: Benjamin Otte <otte redhat com>
Date:   Thu Feb 4 14:19:02 2016 +0100

    build: Don't break windows build
    
    Hardcode the existing files instead of doing a for loop and attempting
    string-fudging magic.

 gtk/Makefile.am |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6061a75..069bd58 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1232,11 +1232,10 @@ gtk.gresource.xml: Makefile.am inspector/Makefile.inc
        echo "    <file>theme/HighContrast/gtk-contained.css</file>" >> $@; \
        echo "    <file>theme/HighContrast/gtk-contained-inverse.css</file>" >> $@; \
        if test "$(win32_theme)" = "yes"; then \
-         for f in $(srcdir)/theme/win32/*.css; do \
-           n=`basename $$f`; \
-           m=`echo $$n | cut -b 5-` \
-           echo "    <file alias='theme/$$m/gtk.css'>theme/win32/$$n</file>" >> $@; \
-         done; \
+         echo "    <file alias='theme/win32/gtk-base.css'>theme/win32/gtk-win32-base.css</file>" >> $@; \
+         echo "    <file alias='theme/win32/gtk.css'>theme/win32/gtk-win32.css</file>" >> $@; \
+         echo "    <file alias='theme/win32-classic/gtk.css'>theme/win32/gtk-win32-classic.css</file>" >> 
$@; \
+         echo "    <file alias='theme/win32-xp/gtk.css'>theme/win32/gtk-win32-xp.css</file>" >> $@; \
        fi; \
        for f in $(srcdir)/cursor/*.png; do \
          n=`basename $$f`; \


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