mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
build: Fix the inclusion paths for GIR files in gi-docgen
The GIR files are now built by GLib itself, so they will be in the build directories of each sub-library, except for GLib-2.0 which is built alongside GObject-2.0.
This commit is contained in:
parent
1969608db5
commit
3dbef3223b
@ -244,8 +244,9 @@ custom_target('gio-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_source_dir() / '../glib'),
|
||||
'--add-include-path=@0@'.format(meson.current_source_dir() / '../gobject'),
|
||||
'--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,
|
||||
|
@ -178,6 +178,7 @@ 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,7 +14,8 @@ custom_target('gmodule-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_source_dir() / '../glib'),
|
||||
'--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,
|
||||
|
@ -89,7 +89,7 @@ custom_target('gobject-docs',
|
||||
'--config=@INPUT0@',
|
||||
'--output-dir=@OUTPUT@',
|
||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||
'--add-include-path=@0@'.format(meson.current_source_dir() / '../glib'),
|
||||
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||
'@INPUT1@',
|
||||
],
|
||||
build_by_default: true,
|
||||
|
Loading…
Reference in New Issue
Block a user