From 3e1a6a010742fa454ffae0a79565a1ae1890ae35 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 5 Aug 2021 14:18:12 +0100 Subject: Port the girepository API reference to gi-docgen We use the introspection data as the source for our documentation. The gtk-doc project is unmaintained, and parsing our code twice isn't the best use of our build time. This might be the chance for getting a better girepository documentation and introspection data, as well. --- gir/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gir/meson.build') diff --git a/gir/meson.build b/gir/meson.build index 5d646335..2c0c9a94 100644 --- a/gir/meson.build +++ b/gir/meson.build @@ -476,7 +476,7 @@ if dep_type != 'pkgconfig' girepository_command += glib_libpaths endif -gir_files += custom_target('gir-girepository', +girepository_gir = custom_target('gir-girepository', input: girepo_gir_sources, output: 'GIRepository-2.0.gir', depends: [gobject_gir, gir_giscanner_pymod, girepo_lib], @@ -494,6 +494,8 @@ gir_files += custom_target('gir-girepository', ] ) +gir_files += girepository_gir + typelibs = [] if get_option('gi_cross_binary_wrapper') != '' gircompiler_command = [get_option('gi_cross_binary_wrapper'), gircompiler.full_path(), ] -- cgit v1.2.1