taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 92103b665325185133719a5cc5017940baa7df2c
parent 52c8fbc11ae4746e24c3489285421c87d2cb6349
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Tue, 18 Apr 2023 18:32:17 +0200

fix #7013

Diffstat:
Mfrags/common-conf-syntax.rst | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/frags/common-conf-syntax.rst b/frags/common-conf-syntax.rst @@ -30,3 +30,33 @@ of one or more ``NUMBER UNIT`` pairs, e.g. ``60 s``, ``4 weeks 1 day``, Values that represent an amount are in the usual amount syntax: ``CURRENCY:VALUE.FRACTION``, e.g. ``EUR:1.50``. The ``FRACTION`` portion may extend up to 8 places. + + +The “[PATHS]” section is special in that it contains paths that can be +referenced using “$” in other configuration values that specify +*filenames*. Note that configuration options that are not specifically +retrieved by the application as *filenames* will not see “$”-expressions +expanded. To expand “$”-expressions when using ``taler-config``, you must pass +the ``-f`` command-line option. + +The system automatically pre-populates the “[PATHS]” section with a few values +at run-time in addition to the values that are in the actual configuration +file. These automatically generated values refer to installation properties +from `GNU autoconf +<https://www.gnu.org/prep/standards/html_node/Directory-Variables.html>`_. The +values are usually dependent on an ``INSTALL_PREFIX`` which is determined by +the ``--prefix`` option given to configure. The canonical values are: + + * LIBEXECDIR = $INSTALL_PREFIX/taler/libexec/ + * DOCDIR = $INSTALL_PREFIX/share/doc/taler/ + * ICONDIR = $INSTALL_PREFIX/share/icons/ + * LOCALEDIR = $INSTALL_PREFIX/share/locale/ + * PREFIX = $INSTALL_PREFIX/ + * BINDIR = $INSTALL_PREFIX/bin/ + * LIBDIR = $INSTALL_PREFIX/lib/taler/ + * DATADIR = $INSTALL_PREFIX/share/taler/ + +Note that on some platforms, the given paths may differ depending +on how the system was compiled or installed, the above are just the +canonical locations of the various resources. +