mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-09 12:38:27 -05:00
meson: Replace meson.build_root() with meson.project_build_root()
The build_root() method is deprecated in 0.56.0 and we're recommended to use project_build_root() instead. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ foreach data : html_xslt_gen
|
||||
command: [
|
||||
xsltproc_prog,
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
|
||||
@@ -39,7 +39,7 @@ index_api_gen = custom_target(
|
||||
],
|
||||
command: [
|
||||
xsltproc_prog, '--nonet', '-o', docs_builddir,
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'@INPUT@',
|
||||
],
|
||||
@@ -66,7 +66,7 @@ foreach name : [ 'admin', 'lxc', 'qemu' ]
|
||||
],
|
||||
command: [
|
||||
xsltproc_prog, '--nonet', '-o', docs_builddir,
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'indexfile', 'index-@0@.html'.format(name),
|
||||
'@INPUT@',
|
||||
|
||||
@@ -40,7 +40,7 @@ foreach data : html_xslt_gen
|
||||
command: [
|
||||
xsltproc_prog,
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
|
||||
@@ -50,7 +50,7 @@ foreach data : html_xslt_gen
|
||||
command: [
|
||||
xsltproc_prog,
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
|
||||
@@ -148,7 +148,7 @@ foreach data : html_xslt_gen
|
||||
command: [
|
||||
xsltproc_prog,
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
|
||||
+3
-3
@@ -264,7 +264,7 @@ hvsupport_html_in = custom_target(
|
||||
python3_prog,
|
||||
hvsupport_prog,
|
||||
meson.source_root(),
|
||||
meson.build_root(),
|
||||
meson.project_build_root(),
|
||||
],
|
||||
capture: true,
|
||||
depend_files: [
|
||||
@@ -305,7 +305,7 @@ foreach data : html_xslt_gen
|
||||
command: [
|
||||
xsltproc_prog,
|
||||
'--stringparam', 'pagesrc', data.get('source', ''),
|
||||
'--stringparam', 'builddir', meson.build_root(),
|
||||
'--stringparam', 'builddir', meson.project_build_root(),
|
||||
'--stringparam', 'timestamp', docs_timestamp,
|
||||
'--stringparam', 'href_base', data.get('href_base', ''),
|
||||
'--nonet',
|
||||
@@ -360,7 +360,7 @@ test(
|
||||
args: [
|
||||
check_html_references_prog.path(),
|
||||
'--prefix',
|
||||
meson.build_root() / 'docs'
|
||||
meson.project_build_root() / 'docs'
|
||||
],
|
||||
env: runutf8,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user