aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-04-15 11:49:11 +0800
committerEli Schwartz <eschwartz93@gmail.com>2022-04-21 12:13:51 -0400
commit9528e7deb0e883efde90f7bca60277ad06d62d47 (patch)
treee9d64f1d999d1d8cb584768cae9858b235694337 /mesonbuild
parent39dd1ff9e83acfdc8c532604b20cb7b774727334 (diff)
downloadmeson-9528e7deb0e883efde90f7bca60277ad06d62d47.zip
meson-9528e7deb0e883efde90f7bca60277ad06d62d47.tar.gz
meson-9528e7deb0e883efde90f7bca60277ad06d62d47.tar.bz2
gtkdochelper.py: Use os.pathsep for --path argument
This way, we can ensure that gtk-doc parses the --path argument correctly when passed in from the cmd.exe console, since ':' is normally used to denote that a drive is being used on local paths.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/scripts/gtkdochelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py
index 153c3d9..260d658 100644
--- a/mesonbuild/scripts/gtkdochelper.py
+++ b/mesonbuild/scripts/gtkdochelper.py
@@ -198,7 +198,7 @@ def build_gtkdoc(source_root: str, build_root: str, doc_subdir: str, src_subdirs
# Make HTML documentation
mkhtml_cmd = [options.gtkdoc_mkhtml,
- '--path=' + ':'.join((doc_src, abs_out)),
+ '--path=' + os.pathsep.join((doc_src, abs_out)),
module,
] + html_args
if main_file: