[libvirt-dbus PATCH 8/9] meson: Install documentation
Pavel Hrdina
phrdina at redhat.com
Mon Apr 27 12:20:15 UTC 2020
On Sat, Apr 25, 2020 at 10:59:45PM +0200, Andrea Bolognani wrote:
> People who install the RPM packages already get this, but it's
> good practice so let's make it happen for those who install from
> source as well.
>
> The process is straightforward, but we have to be a bit careful
> with AUTHORS because this specific file is found in different
> directories depending on whether we're building from git or from
> a release.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> meson.build | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
>
> diff --git a/meson.build b/meson.build
> index 7518e94..9395bc4 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -12,6 +12,7 @@ project(
> prefix = get_option('prefix')
> datadir = prefix / get_option('datadir')
> sbindir = prefix / get_option('sbindir')
> +set_variable('docdir', datadir / 'doc/libvirt-dbus')
No need to use set_variable(), you can use directly:
docdir = datadir / 'doc' / 'libvirt-dbus'
The set_variable() function is usually used in places where you need to
dynamically generate the variable name.
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200427/a21e5453/attachment-0001.sig>
More information about the libvir-list
mailing list