mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
devel-docs: don't build reference docs when GIR aren't generated.
This can happens in cross-compilation cases for instance.
This commit is contained in:
parent
e22c027bbf
commit
b64f79fed9
2 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ mkdb_args_common = [
|
||||||
'--name-space=gimp',
|
'--name-space=gimp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if gi_docgen.found()
|
if gi_docgen.found() and have_gobject_introspection
|
||||||
subdir('reference')
|
subdir('reference')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -1986,7 +1986,7 @@ final_message = [
|
||||||
''' Test appdata @0@'''.format(appstreamcli.found()),
|
''' Test appdata @0@'''.format(appstreamcli.found()),
|
||||||
'',
|
'',
|
||||||
'''Documentation:''',
|
'''Documentation:''',
|
||||||
''' libgimp API Reference: @0@'''.format(gi_docgen.found()),
|
''' libgimp API Reference: @0@'''.format(gi_docgen.found() and have_gobject_introspection),
|
||||||
''' GObject Introspection: @0@'''.format(get_option('g-ir-doc')),
|
''' GObject Introspection: @0@'''.format(get_option('g-ir-doc')),
|
||||||
'',
|
'',
|
||||||
'''Bug report URL: @0@'''.format(bug_report_url),
|
'''Bug report URL: @0@'''.format(bug_report_url),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue