$NetBSD: patch-giscanner_meson.build,v 1.1 2022/02/15 17:34:32 wiz Exp $ Fix build with latest meson. https://gitlab.gnome.org/GNOME/gobject-introspection/-/commit/effb1e09dee263cdac4ec593e8caf316e6f01fe2 --- giscanner/meson.build.orig 2021-09-17 16:02:42.526052200 +0000 +++ giscanner/meson.build @@ -53,17 +53,9 @@ configure_file(input : '../girepository/ install_subdir('doctemplates', install_dir: giscannerdir) -# XXX: this doesn't track the input, but there is nothing to copy many files -# in meson. -doc_templates = custom_target('copy-templates', - input : 'doctemplates', - output : 'doctemplates', - command : [ - python, '-c', - 'import sys, shutil;' + - 'shutil.rmtree(sys.argv[2], ignore_errors=True);' + - 'shutil.copytree(sys.argv[1], sys.argv[2])', - '@INPUT@', '@OUTPUT@']) +doc_templates = [] +subdir('doctemplates/devdocs') +subdir('doctemplates/mallard') flex = find_program('flex', 'win_flex') bison = find_program('bison', 'win_bison')