summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk/Makefile.am17
1 files changed, 16 insertions, 1 deletions
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 7274ce16d7..df0460c609 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) \