mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-12 20:24:04 +02: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:
@@ -244,8 +244,9 @@ custom_target('gio-docs',
|
|||||||
'--config=@INPUT0@',
|
'--config=@INPUT0@',
|
||||||
'--output-dir=@OUTPUT@',
|
'--output-dir=@OUTPUT@',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--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_source_dir() / '../gobject'),
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gmodule'),
|
||||||
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gio'),
|
||||||
'@INPUT1@',
|
'@INPUT1@',
|
||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
|
@@ -178,6 +178,7 @@ custom_target('glib-docs',
|
|||||||
'--config=@INPUT0@',
|
'--config=@INPUT0@',
|
||||||
'--output-dir=@OUTPUT@',
|
'--output-dir=@OUTPUT@',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--content-dir=@0@'.format(meson.current_source_dir()),
|
||||||
|
'--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gobject'),
|
||||||
'@INPUT1@',
|
'@INPUT1@',
|
||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
|
@@ -14,7 +14,8 @@ custom_target('gmodule-docs',
|
|||||||
'--config=@INPUT0@',
|
'--config=@INPUT0@',
|
||||||
'--output-dir=@OUTPUT@',
|
'--output-dir=@OUTPUT@',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--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@',
|
'@INPUT1@',
|
||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
|
@@ -89,7 +89,7 @@ custom_target('gobject-docs',
|
|||||||
'--config=@INPUT0@',
|
'--config=@INPUT0@',
|
||||||
'--output-dir=@OUTPUT@',
|
'--output-dir=@OUTPUT@',
|
||||||
'--content-dir=@0@'.format(meson.current_source_dir()),
|
'--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@',
|
'@INPUT1@',
|
||||||
],
|
],
|
||||||
build_by_default: true,
|
build_by_default: true,
|
||||||
|
Reference in New Issue
Block a user