[gnome-todo/gnome-3-26] project: Fix documentation generation



commit 4eec6cd8cd364eb5ed27be2e410dd49fe19758d3
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Thu Sep 28 16:27:17 2017 +0200

    project: Fix documentation generation
    
    Documentation generation with GtkDoc is failing due to missing
    directories.
    
    This is happening because GtkDoc tries to search for directories
    that are present in the source code tree, but are not in the build
    tree: 'src/engine', 'src/interfaces' and 'src/notification'.
    
    This patch modifies the directories that GtkDoc scans in search for
    source code files.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788295

 doc/reference/meson.build |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/doc/reference/meson.build b/doc/reference/meson.build
index 46b1f76..6d25d0b 100644
--- a/doc/reference/meson.build
+++ b/doc/reference/meson.build
@@ -53,7 +53,7 @@ doc_path = join_paths(gnome_todo_datadir, 'gtk-doc', 'html', meson.project_name(
 gnome.gtkdoc(
   meson.project_name(),
           main_sgml: meson.project_name() + '-docs.sgml',
-            src_dir: src_inc,
+            src_dir: join_paths(meson.source_root(), 'src'),
        dependencies: libgtd_dep,
           mkdb_args: [ '--sgml-mode', '--output-format=xml' ],
         html_assets: html_images,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]