Add --uninstall option to glib-compile-schemas
authorRyan Lortie <desrt@desrt.ca>
Wed, 19 May 2010 20:02:05 +0000 (16:02 -0400)
committerRyan Lortie <desrt@desrt.ca>
Wed, 19 May 2010 20:02:05 +0000 (16:02 -0400)
commitcaae8ac57a2d24a5de21d1ac6d6122897a418e72
tree63818e02c474944ff95a1c7acd2554d79daea328
parentb59a5551ecd448187d752d93a06c2298db121ace
Add --uninstall option to glib-compile-schemas

If --uninstall is given then don't give an error if the schema directory
is empty.  Instead, erase the gschemas.compiled file, if it exists.
This is the right thing to do in the 'make uninstall' rule, where the
schema directory could very well be left empty as a result.

Modify gsettings.m4 to use this option.
gio/gschema-compile.c
m4macros/gsettings.m4