mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
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:
parent
92f133558a
commit
c9d73e4da7
2 changed files with 2 additions and 0 deletions
|
@ -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: [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue