From 9528e7deb0e883efde90f7bca60277ad06d62d47 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Fri, 15 Apr 2022 11:49:11 +0800 Subject: 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. --- mesonbuild/scripts/gtkdochelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/scripts') diff --git a/mesonbuild/scripts/gtkdochelper.py b/mesonbuild/scripts/gtkdochelper.py index 153c3d933..260d65817 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: -- cgit v1.2.3