summaryrefslogtreecommitdiff
path: root/doc/manual/p11-kit-devel.xml
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2013-07-17 11:58:05 +0200
committerStef Walter <stef@thewalter.net>2013-07-18 13:04:35 +0200
commit52a84b84a924a9f1cd8090b0a47b9f7d00ca69f3 (patch)
tree32428cc8b83eaa360b8b53e92f769cac1cf8a17e /doc/manual/p11-kit-devel.xml
parent936e4c229a4ed205e9981fc4f31acea063701b69 (diff)
Support expanding $XDG_CONFIG_HOME in user config paths
If ~/.config is specified as a prefix to a configured path, then it is expanded to the $XDG_CONFIG_HOME if that exists Add --with-user-config ./configure option to configure a different user config directory. Interpolate the right directories into documentation.
Diffstat (limited to 'doc/manual/p11-kit-devel.xml')
-rw-r--r--doc/manual/p11-kit-devel.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/manual/p11-kit-devel.xml b/doc/manual/p11-kit-devel.xml
index 5ffc32b..2ce3f0c 100644
--- a/doc/manual/p11-kit-devel.xml
+++ b/doc/manual/p11-kit-devel.xml
@@ -230,6 +230,16 @@ $ make install
<listitem><para>Specify the path to look for p11-kit config files. This
usually defaults to something like <literal>/etc/pkcs11</literal></para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--with-user-config</option></term>
+ <listitem><para>Specify the path to look for user specific p11-kit config files. If
+ specify a path that begins with <literal>~/</literal> then this is expanded to the
+ home directory of the user running p11-kit. If you specify a path that begins with
+ <literal>~/.config/</literal> then this is expanded to the $XDG_CONFIG_HOME directory,
+ as outlined in the
+ <ulink url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables">XDG Base Dir specification</ulink>.
+ This option defaults to <literal>~/.pkcs11</literal></para></listitem>
+ </varlistentry>
</variablelist>
<para></para>
</section>