From 3259e4271944355c1b90cff8183fe03a9f5969f2 Mon Sep 17 00:00:00 2001 From: Gary Kramlich Date: Mon, 25 Oct 2021 22:06:07 -0500 Subject: Fix includes for the introspection targets that I thought weren't needed during the gi-docgen conversation Testing Done: ran `meson --wipe && ninja` and verified a BUNCH of warnings magically disappeared into oblivion. Reviewed at https://reviews.imfreedom.org/r/1087/ --- doc/reference/finch/meson.build | 6 +++++- doc/reference/pidgin/meson.build | 5 +++++ doc/reference/protocols/facebook/meson.build | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/reference/finch/meson.build b/doc/reference/finch/meson.build index baa6a06d92..c7695855a8 100644 --- a/doc/reference/finch/meson.build +++ b/doc/reference/finch/meson.build @@ -10,7 +10,7 @@ if get_option('doc') ) finch_doc = custom_target('finch-doc', - input : [ finch_toml, libfinch_gir ], + input : [ finch_toml, libfinch_gir[0] ], output : 'finch', command : [ gidocgen, @@ -21,8 +21,12 @@ if get_option('doc') '--output-dir=@OUTPUT@', '--no-namespace-dir', '--content-dir=@0@'.format(meson.current_source_dir()), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/libgnt'), + '--add-include-path=@0@'.format(meson.project_build_root() / 'libpurple'), '@INPUT1@' ], + depends: [ libpurple_gir[0] ], depend_files : [ finch_doc_content_files ], build_by_default : true, install : true, diff --git a/doc/reference/pidgin/meson.build b/doc/reference/pidgin/meson.build index 39df411b34..f26347aa20 100644 --- a/doc/reference/pidgin/meson.build +++ b/doc/reference/pidgin/meson.build @@ -25,8 +25,13 @@ if get_option('doc') '--output-dir=@OUTPUT@', '--no-namespace-dir', '--content-dir=@0@'.format(meson.current_source_dir()), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin-gtk3'), + '--add-include-path=@0@'.format(meson.project_build_root() / 'libpurple'), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/talkatu/talkatu'), '@INPUT1@' ], + depends: [ libpurple_gir[0] ], depend_files : [ pidgin_doc_content_files ], build_by_default : true, install : true, diff --git a/doc/reference/protocols/facebook/meson.build b/doc/reference/protocols/facebook/meson.build index 007ae7b8f4..4108394dad 100644 --- a/doc/reference/protocols/facebook/meson.build +++ b/doc/reference/protocols/facebook/meson.build @@ -21,8 +21,11 @@ if get_option('doc') '--output-dir=@OUTPUT@', '--no-namespace-dir', '--content-dir=@0@'.format(meson.current_source_dir()), + '--add-include-path=@0@'.format(meson.global_build_root() / 'subprojects/gplugin/gplugin'), + '--add-include-path=@0@'.format(meson.build_root() / 'libpurple'), '@INPUT1@' ], + depends: [ libpurple_gir[0] ], depend_files : [ facebook_doc_content_files ], build_by_default : true, install : true, -- cgit v1.2.1