common: support custom, extra information for build's version
[babeltrace.git] / version / README.adoc
CommitLineData
89e18e1e
PP
1= Babeltrace's version extra information
2
3This directory contains files and a directory to add information to the
4version of a Babeltrace build. The CLI (`--version` option) and library
5can provide this information.
6
7The following directory and files are scanned at `src/common/version.i`
8generation time, which occurs at **every build**:
9
10`extra_version_name`::
11 If it exists, the first line of this file is the extra name of the
12 custom version.
13
14`extra_version_description`::
15 If it exists, the file's contents is the extra description of the
16 custom version.
17+
18This should contain a description of local modifications applied to the
19source tree. A distribution packager can use this file, for example, to
20specify what changes were applied locally.
21+
22All characters except alphanumeric ones, whitespaces, `.`, and `,` are
23replaced with `-`.
24
25`extra_patches`::
26 If it exists, this directory contains patch files applied to the
27 source tree.
28+
29Each file name is included when generating `src/common/version.i`,
30except `README.adoc`.
31+
32All characters except alphanumeric ones, whitespaces, and `.` are
33replaced with `-`.
This page took 0.024518 seconds and 4 git commands to generate.