[gtk+/win32-theme2: 16/18] Build gtkwin32css.h from gtk-win32.css
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/win32-theme2: 16/18] Build gtkwin32css.h from gtk-win32.css
- Date: Fri, 18 Nov 2011 15:58:48 +0000 (UTC)
commit a38c48be927e20e3a4ea78f3879feff8d184d9a1
Author: Alexander Larsson <alexl redhat com>
Date: Fri Nov 18 16:43:45 2011 +0100
Build gtkwin32css.h from gtk-win32.css
gtk/Makefile.am | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index d12c3d5..75c8703 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -833,7 +833,8 @@ gtk_built_public_sources = \
# built headers that don't get installed
gtk_built_private_headers = \
gtkmarshalers.h \
- gtkbuiltincache.h
+ gtkbuiltincache.h \
+ gtkwin32css.h
gtk_built_sources = \
gtktypebuiltins.c \
@@ -845,6 +846,7 @@ gtk_built_sources = \
stamp_files = \
stamp-gtkmarshalers.h \
stamp-gtktypebuiltins.h \
+ stamp-gtkwin32css.h \
stamp-icons
# non-header sources (headers should be specified in the above variables)
@@ -902,6 +904,14 @@ gtkmarshalers.c: @REBUILD@ gtkmarshalers.list
&& cp xgen-gmlc gtkmarshalers.c \
&& rm -f xgen-gmlc
+gtkwin32css.h: stamp-gtkwin32css.h
+ @true
+stamp-gtkwin32css.h: @REBUILD@ gtk-win32.css
+ $(AWK) 'BEGIN { print "static const char *gtk_win32_default_css = " } { print " \"" $$0 "\\n\""} END { print ";" }' < $(srcdir)/gtk-win32.css >> xgen-gmlh\
+ && (cmp -s xgen-gmlh gtkwin32css.h || cp xgen-gmlh gtkwin32css.h) \
+ && rm -f xgen-gmlh \
+ && echo timestamp > $(@F)
+
gtktypebuiltins.h: stamp-gtktypebuiltins.h
@true
stamp-gtktypebuiltins.h: @REBUILD@ $(gtk_public_h_sources) $(deprecated_h_sources) gtktypebuiltins.h.template
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]