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
This commit is contained in:
Florian Müllner 2010-06-19 00:21:17 +02:00
parent f8b142064b
commit bd4aa54e48

View File

@ -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