Add a man page for gio-querymodules

This commit is contained in:
Matthias Clasen 2010-04-18 15:54:54 -04:00
parent e0850b56e2
commit b7afff0033
3 changed files with 41 additions and 0 deletions

View File

@ -115,12 +115,14 @@ content_files = \
version.xml \
overview.xml \
migrating.xml \
gio-querymodules.xml \
gschema-compile.xml \
gsettings-schema-convert.xml
expand_content_files = \
overview.xml \
migrating.xml \
gio-querymodules.xml \
gschema-compile.xml \
gsettings-schema-convert.xml
@ -136,6 +138,7 @@ EXTRA_DIST += \
if ENABLE_MAN
man_MANS = \
gio-querymodules.1 \
gschema-compile.1 \
gsettings-schema-convert.1

View File

@ -141,6 +141,7 @@
</chapter>
<chapter id="tools">
<title>GIO Tools</title>
<xi:include href="xml/gio-querymodules.xml"/>
<xi:include href="xml/gschema-compile.xml"/>
<xi:include href="xml/gsettings-schema-convert.xml"/>
</chapter>
@ -177,4 +178,8 @@
<title>Index of new symbols in 2.24</title>
<xi:include href="xml/api-index-2.24.xml"><xi:fallback /></xi:include>
</index>
<index id="api-index-2-26" role="2.26">
<title>Index of new symbols in 2.26</title>
<xi:include href="xml/api-index-2.26.xml"><xi:fallback /></xi:include>
</index>
</book>

View File

@ -0,0 +1,33 @@
<refentry id="gio-querymodules" lang="en">
<refmeta>
<refentrytitle>gio-querymodules</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">User Commands</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gio-querymodules</refname>
<refpurpose>GIO module cache creation</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>gio-querymodules</command>
<arg choice="req" rep="repeat">directory</arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>Description</title>
<para><command>gio-querymodules</command> creates a
<filename>giomodule.cache</filename> file in the listed directories.
This file lists the implemented extension points for each module
that has been found. It is used by GIO at runtime to avoid opening
all modules just to find out which extension points they are implementing.
</para>
<para>
GIO modules are usually installed in the <filename>gio/modules</filename>
subdirectory of libdir.
</para>
</refsect1>
</refentry>