From 52a84b84a924a9f1cd8090b0a47b9f7d00ca69f3 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 17 Jul 2013 11:58:05 +0200 Subject: 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. --- doc/manual/p11-kit-devel.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/manual/p11-kit-devel.xml') 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 Specify the path to look for p11-kit config files. This usually defaults to something like /etc/pkcs11 + + + Specify the path to look for user specific p11-kit config files. If + specify a path that begins with ~/ then this is expanded to the + home directory of the user running p11-kit. If you specify a path that begins with + ~/.config/ then this is expanded to the $XDG_CONFIG_HOME directory, + as outlined in the + XDG Base Dir specification. + This option defaults to ~/.pkcs11 + -- cgit v1.1