mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
meson: generate run helper
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
932a5b5499
commit
1dfd4248e9
@ -103,8 +103,6 @@ m4_if(m4_version_compare([2.61a.100],
|
||||
[AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
|
||||
[GNUmakefile=$GNUmakefile])])
|
||||
|
||||
AC_CONFIG_FILES([run],
|
||||
[chmod +x,-w run])
|
||||
AC_CONFIG_FILES([\
|
||||
Makefile \
|
||||
.color_coded \
|
||||
|
11
meson.build
11
meson.build
@ -2315,6 +2315,17 @@ endif
|
||||
configure_file(output: 'meson-config.h', configuration: conf)
|
||||
|
||||
|
||||
# generate run helper
|
||||
run_conf = configuration_data()
|
||||
run_conf.set('abs_builddir', meson.build_root())
|
||||
configure_file(
|
||||
input: 'run.in',
|
||||
output: 'run',
|
||||
configuration: run_conf,
|
||||
)
|
||||
run_command('chmod', 'a+x', meson.current_build_dir() / 'run')
|
||||
|
||||
|
||||
# print configuration summary
|
||||
|
||||
driver_summary = {
|
||||
|
Loading…
Reference in New Issue
Block a user