Re: [libvirt PATCH 261/351] meson: tools: generate virt-xml-validate script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 16, 2020 at 11:58:17 +0200, Pavel Hrdina wrote:
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  tools/Makefile.am |  7 +------
>  tools/meson.build | 12 ++++++++++++
>  2 files changed, 13 insertions(+), 6 deletions(-)
> 

[...]

> diff --git a/tools/meson.build b/tools/meson.build
> index d2d82903f1c..5e985cff593 100644
> --- a/tools/meson.build
> +++ b/tools/meson.build
> @@ -215,3 +215,15 @@ executable(
>    install_dir: bindir,
>    install_rpath: libdir,
>  )
> +
> +tools_conf = configuration_data()
> +tools_conf.set('VERSION', meson.project_version())
> +tools_conf.set('schemadir', pkgdatadir / 'schemas')
> +
> +configure_file(
> +  input: 'virt-xml-validate.in',
> +  output: 'virt-xml-validate',
> +  configuration: tools_conf,
> +  install: true,
> +  install_dir: bindir,
> +)

Does this preserve the executable bit? I think I've reported some files
having wrong exec permissions and it might have been this.




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux