[gnome-shell] Rescue innocent schema files from the greedy make god



commit bd4aa54e48ec824d9f5aa582cc5624cc749203bd
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jun 19 00:21:17 2010 +0200

    Rescue innocent schema files from the greedy make god
    
    Removing the prerequisites from the gschemas.compiled rule broke
    the build, as this is what triggers the generation of the actual
    schema files expected by the rule's command.
    Instead of just restoring the former dependencies, make sure that
    the schema is validated before compilation, not after.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=622050

 data/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index a67e85e..bffb349 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -52,7 +52,7 @@ gsettings_SCHEMAS = org.gnome.shell.gschema.xml
 
 # We need to compile schemas at make time
 # to run from source tree
-gschemas.compiled:
+gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid)
 	$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
 
 all-local: gschemas.compiled



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