[glib/new-gsettings] Generate the schemas cache automatically



commit d1f1b8c5b01f8f9d582aac58f5b86585140fdf18
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 14 15:35:24 2010 -0400

    Generate the schemas cache automatically
    
    This needs to be revisited for !srcdir builds later.

 gio/tests/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am
index 80da3c1..731b2ff 100644
--- a/gio/tests/Makefile.am
+++ b/gio/tests/Makefile.am
@@ -134,7 +134,12 @@ contexts_SOURCES	  = contexts.c
 contexts_LDADD		  = $(progs_ldadd) \
 	$(top_builddir)/gthread/libgthread-2.0.la
 
-gsettings_SOURCES	  = gsettings.c
+gsettings_SOURCES	  = gsettings.c gschemas.compiled
 gsettings_LDADD		  = $(progs_ldadd)
 
+BUILT_SOURCES = gschemas.compiled
+
+gschemas.compiled: *.gschema
+	$(top_builddir)/gio/gschema-compile .
+
 DISTCLEAN_FILES = applications/mimeinfo.cache



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