summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-06-28 14:06:32 -0400
committerRyan Lortie <desrt@desrt.ca>2010-06-28 14:06:32 -0400
commit8a7d9906983c23c9bafa8b10c1fd089fcd7989f8 (patch)
tree5e5955a65b5870c9f8d09d33d524f2084fd43853 /m4macros
parentab1111b8bbb7a6057248658013eb23d80f4721cf (diff)
Bug 622565 - compile-schemas fails when no schemas
Neutralise and deprecate the --uninstall option in the schema compiler and remove it from gsettings.m4. Make the new default behaviour a compromise between the old default behaviour and the previous --uninstall option: - never return a failure code if no schema files are found - issue a warning instead - remove the gschemas.compiled file if it exists
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/gsettings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/gsettings.m4 b/m4macros/gsettings.m4
index ee97b5732..58a826d93 100644
--- a/m4macros/gsettings.m4
+++ b/m4macros/gsettings.m4
@@ -68,7 +68,7 @@ uninstall-gsettings-schemas:
test -n "$$files" || exit 0; \
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
- test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) --uninstall $(gsettingsschemadir)
+ test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
clean-gsettings-schemas:
rm -f $(gsettings_SCHEMAS:.xml=.valid)