devel-docs: fix failure to build gir docs
Generating the devel docs fails on Windows because it can't find Babl-0.1.gir, which is only available for me in GIMP's prefix. Adding that path with -add-include-path fixes the issue for me.
This commit is contained in:
@ -25,6 +25,7 @@ gimp_ui_docs = custom_target('gimp-ui-docs',
|
|||||||
'--no-namespace-dir',
|
'--no-namespace-dir',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||||
'--add-include-path=@0@'.format(meson.project_build_root() / 'libgimp'),
|
'--add-include-path=@0@'.format(meson.project_build_root() / 'libgimp'),
|
||||||
|
'--add-include-path=@0@'.format(get_option('prefix') / 'share' / 'gir-1.0'),
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
],
|
],
|
||||||
depends: libgimp_gir[0],
|
depends: libgimp_gir[0],
|
||||||
|
@ -23,6 +23,7 @@ gimp_docs = custom_target('gimp-docs',
|
|||||||
'--output-dir=@OUTPUT@',
|
'--output-dir=@OUTPUT@',
|
||||||
'--no-namespace-dir',
|
'--no-namespace-dir',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||||
|
'--add-include-path=@0@'.format(get_option('prefix') / 'share' / 'gir-1.0'),
|
||||||
'@INPUT@',
|
'@INPUT@',
|
||||||
],
|
],
|
||||||
depend_files: [
|
depend_files: [
|
||||||
|
Reference in New Issue
Block a user