diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2022-02-11 16:07:35 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2022-02-11 16:07:35 +0100 |
commit | c9b2b53059a2fc23eb939e98a59c61c2414ec3f8 (patch) | |
tree | 03d6389d8991b8cbc1f154ab6471cb557e650034 /docs | |
parent | afac37ad1dab41202ceecfe50315d0074e372f21 (diff) | |
download | sigc++-c9b2b53059a2fc23eb939e98a59c61c2414ec3f8.tar.gz |
meson.build: Specify 'check' option in run_command()
The default value will be changed in future Meson releases.
Don't use deprecated python3.path() and execute(..., gui_app: ...).
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/manual/meson.build | 3 | ||||
-rw-r--r-- | docs/docs/reference/meson.build | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/docs/manual/meson.build b/docs/docs/manual/meson.build index e632131..8c721c8 100644 --- a/docs/docs/manual/meson.build +++ b/docs/docs/manual/meson.build @@ -31,6 +31,7 @@ if xmllint.found() validate, meson.current_source_dir() / 'can_use_xmllint.xml', meson.current_build_dir() / 'can_use_xmllint.stamp', + check: false, ).returncode() == 0 if not can_parse_and_validate # The DocBook V5.0 package is called docbook5-xml in Ubuntu, @@ -95,7 +96,7 @@ endif if can_add_dist_script # Distribute built files. meson.add_dist_script( - python3.path(), tutorial_custom_cmd, 'dist_doc', + python3, tutorial_custom_cmd, 'dist_doc', doc_dist_dir, meson.current_build_dir(), meson.current_source_dir() / sigc_manual_xml, diff --git a/docs/docs/reference/meson.build b/docs/docs/reference/meson.build index 397e975..e0c0c4b 100644 --- a/docs/docs/reference/meson.build +++ b/docs/docs/reference/meson.build @@ -120,7 +120,7 @@ devhelp_file = custom_target('devhelp', # Install Devhelp file and html files. meson.add_install_script( - python3.path(), doc_reference, 'install_doc', + python3, doc_reference, 'install_doc', doctool_dir, devhelp_file.full_path(), install_devhelpdir, @@ -131,7 +131,7 @@ meson.add_install_script( if can_add_dist_script # Distribute built files and files copied by mm-common-get. meson.add_dist_script( - python3.path(), doc_reference, 'dist_doc', + python3, doc_reference, 'dist_doc', doctool_dir, doctool_dist_dir, meson.current_build_dir(), |