GSettings schema docs: mention need for EXTRA_DIST

Mention that you will need to use EXTRA_DIST for your schema file if it
is distributed with your project.
This commit is contained in:
Ryan Lortie 2010-05-27 13:11:49 -04:00
parent f2687f588e
commit 30a8562946

View File

@ -247,6 +247,16 @@ gsettings_SCHEMAS = my.app.gschema.xml
</programlisting>
</para>
<para>
This is not sufficient on its own. You need to mention what the source
of the <filename>my.app.gschema.xml</filename> file is. If the schema
file is distributed directly with your project's tarball then a mention
in <varname>EXTRA_DIST</varname> is appropriate. If the schema file is
generated from another source then you will need the appropriate rule
for that, plus probably an item in <varname>EXTRA_DIST</varname> for the
source files used by that rule.
</para>
<para>
One possible pitfall in doing schema conversion is that the default
values in GSettings schemas are parsed by the #GVariant parser.