mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
build: Tell gi-docgen where to find the GIR files
Now that all files are located under top_srcdir/introspection, we need to ensure that gi-docgen can find them.
This commit is contained in:
parent
686ab492cf
commit
0db7395ef9
@ -52,9 +52,6 @@ custom_target('gio-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gmodule'),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gio'),
|
||||
'@INPUT1@',
|
||||
],
|
||||
build_by_default: true,
|
||||
|
@ -109,7 +109,6 @@ custom_target('glib-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||
'@INPUT1@',
|
||||
],
|
||||
build_by_default: true,
|
||||
|
@ -14,8 +14,6 @@ custom_target('gmodule-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gmodule'),
|
||||
'@INPUT1@',
|
||||
],
|
||||
build_by_default: true,
|
||||
|
@ -41,7 +41,6 @@ custom_target('gobject-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||
'@INPUT1@',
|
||||
],
|
||||
build_by_default: true,
|
||||
|
@ -12,6 +12,7 @@ if get_option('documentation') and enable_gir
|
||||
'--quiet',
|
||||
'--no-namespace-dir',
|
||||
'--fatal-warnings',
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../introspection'),
|
||||
]
|
||||
|
||||
docs_dir = glib_datadir / 'doc' / 'glib-2.0'
|
||||
|
Loading…
Reference in New Issue
Block a user