[gtk+/adwaita] Adwaita: Include sources in dist



commit 9f43a46b8044008fdfdefa31bb52561c963a1fa1
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jun 13 13:05:12 2014 -0400

    Adwaita: Include sources in dist
    
    These things are necessary to work on the Adwaita theme,
    so include them in the tarball.

 gtk/Makefile.am |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 7274ce1..df0460c 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -1374,7 +1374,7 @@ gtktypebuiltins.c: $(gtk_public_h_sources) $(a11y_h_sources) $(deprecated_h_sour
        && cp xgen-gtbc gtktypebuiltins.c  \
        && rm -f xgen-gtbc
 
-gtk.gresource.xml:
+gtk.gresource.xml: Makefile.am
        $(AM_V_GEN) echo -e "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > $@; \
        echo -e "<gresources>" >> $@; \
        echo -e "  <gresource prefix=\"/org/gtk/libgtk\">" >> $@; \
@@ -1405,7 +1405,21 @@ gtk.gresource.xml:
        echo -e "  </gresource>" >> $@; \
        echo -e "</gresources>" >> $@;
 
+adwaita_sources = \
+       resources/theme/Adwaita/assets.svg \
+       resources/theme/Adwaita/_colors.scss \
+       resources/theme/Adwaita/_common.scss \
+       resources/theme/Adwaita/_drawing.scss \
+       resources/theme/Adwaita/gtk.scss \
+       resources/theme/Adwaita/gtk-dark.scss \
+       resources/theme/Adwaita/parse-sass.sh \
+       resources/theme/Adwaita/render-assets.sh \
+       resources/theme/Adwaita/render-borders.sh \
+       resources/theme/Adwaita/assets.txt \
+       resources/theme/Adwaita/borders.txt
+
 resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/resources --generate-dependencies 
$(srcdir)/gtk.gresource.xml)
+
 gtkresources.h: gtk.gresource.xml
        $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/gtk.gresource.xml \
                --target=$@ --sourcedir=$(srcdir)/resources --c-name _gtk --generate-header --manual-register
@@ -1983,6 +1997,7 @@ gsettings_SCHEMAS = \
 
 EXTRA_DIST +=                   \
        $(resource_files)       \
+       $(adwaita_sources)      \
        $(STOCK_ICONS)          \
        $(GENERATED_ICONS)      \
        $(gsettings_SCHEMAS)    \


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