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