[gnome-builder/wip/lantw/fix-various-things-for-freebsd-and-clang: 1/4] build: fix gtk-doc build



commit f76070f465e7b394f274ff4a47b825859048ed02
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Jul 29 23:13:22 2019 +0800

    build: fix gtk-doc build
    
    ide-cell-renderer-status.h is a private header which should not be used
    during the gtk-doc build.

 src/libide/tree/meson.build | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/libide/tree/meson.build b/src/libide/tree/meson.build
index b3a21d444..7b9922828 100644
--- a/src/libide/tree/meson.build
+++ b/src/libide/tree/meson.build
@@ -26,6 +26,10 @@ libide_tree_public_sources = [
   'ide-tree-node.c',
 ]
 
+libide_tree_private_headers = [
+  'ide-cell-renderer-status.h',
+]
+
 libide_tree_private_sources = [
   'ide-cell-renderer-status.c',
 ]
@@ -55,6 +59,7 @@ libide_tree = static_library('ide-tree-' + libide_api_version, libide_tree_sourc
 )
 
 libide_tree_dep = declare_dependency(
+              sources: libide_tree_private_headers,
          dependencies: libide_tree_deps,
            link_whole: libide_tree,
   include_directories: include_directories('.'),
@@ -62,5 +67,7 @@ libide_tree_dep = declare_dependency(
 
 gnome_builder_public_sources += files(libide_tree_public_sources)
 gnome_builder_public_headers += files(libide_tree_public_headers)
+gnome_builder_private_sources += files(libide_tree_private_sources)
+gnome_builder_private_headers += files(libide_tree_private_headers)
 gnome_builder_include_subdirs += libide_tree_header_subdir
 gnome_builder_gir_extra_args += ['--c-include=libide-tree.h', '-DIDE_TREE_COMPILATION']


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