summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2019-09-06 16:21:03 -0400
committerXavier Claessens <xavier.claessens@collabora.com>2019-09-09 08:51:46 -0400
commit65f64f09886403dad7b801048833b9745abeaee5 (patch)
treef48f3034cfaa86b3f959a209e735bd9c53982f35
parent963749da61c0d3641f63dec45f1c755b65966313 (diff)
downloadglib-65f64f09886403dad7b801048833b9745abeaee5.tar.gz
Fix doc build on Windows
This is a work around for this Meson bug: https://github.com/mesonbuild/meson/issues/5893 Closes: #1888
-rw-r--r--docs/reference/gio/meson.build9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/reference/gio/meson.build b/docs/reference/gio/meson.build
index 860ab4d08..f8805a575 100644
--- a/docs/reference/gio/meson.build
+++ b/docs/reference/gio/meson.build
@@ -141,11 +141,16 @@ if get_option('gtk_doc')
configuration: version_conf
)
+ # FIXME: configure_file() does not support more than one file in input
+ # argument. If input argument is omitted then meson checks that all items in
+ # the command array are strings. But if we have an input then extra files
+ # can be passed in command array.
+ # See https://github.com/mesonbuild/meson/issues/5893
concat_files_helper = find_program('concat-files-helper.py')
configure_file(
output : 'gio-sections.txt',
- input : sections_files,
- command : [concat_files_helper, '@OUTPUT@', '@INPUT@'],
+ input : sections_files[0],
+ command : [concat_files_helper, '@OUTPUT@'] + sections_files,
)
configure_file(