From b7b30102882f0a85c169a0eb4944a8f1c344c9e1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Aug 2017 15:29:24 +0200 Subject: Add version, project.summary, project.url built-in variables Extract them from manifest in the version module. Use them when generating the pkg-config's .pc files. --- doc/manual.cli | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/manual.cli') diff --git a/doc/manual.cli b/doc/manual.cli index f89fa23..62290e0 100644 --- a/doc/manual.cli +++ b/doc/manual.cli @@ -502,6 +502,16 @@ as the following build system variables (which can be used in the buildfiles): [uint64] version.revision # 3 \ +As a convenience, the \c{version} module also extract the \c{summary} and +\c{url} manifest values and sets them as the following build system variables +(this additional information is used, for example, when generating the +\c{pkg-config} files): + +\ +[string] project.summary +[string] project.url +\ + If the version is the latest snapshot (that is, it's in the \c{.z} form), then the \c{version} module extracts the snapshot information from the version control system used by the project. Currently only \c{git} is supported with -- cgit v1.1