Build gdbus-objectmanager-example docs unconditionally

The GIO reference documentation links to that documentation, so we
cannot only build it when the installed tests are enabled.
This commit is contained in:
Emmanuele Bassi 2020-10-30 16:42:53 +00:00
parent 2993bb8275
commit e1744603d8

View File

@ -1,7 +1,5 @@
if get_option('gtk_doc')
if installed_tests_enabled
subdir('gdbus-object-manager-example')
endif
subdir('gdbus-object-manager-example')
subdir('xml')
ignore_headers = [
@ -178,13 +176,11 @@ if get_option('gtk_doc')
'gdbus-codegen.xml',
]
if installed_tests_enabled
content_files += [
gdbus_example_objectmanager_xml,
gdbus_example_objectmanager_sources,
gdbus_object_manager_example_doc
]
endif
content_files += [
gdbus_example_objectmanager_xml,
gdbus_example_objectmanager_sources,
gdbus_object_manager_example_doc
]
gnome.gtkdoc('gio',
main_xml : 'gio-docs.xml',