[libdazzle/wip/lantw/fix-gtk-doc-build] doc: add two files and use full path in private_headers
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle/wip/lantw/fix-gtk-doc-build] doc: add two files and use full path in private_headers
- Date: Thu, 15 Feb 2018 20:13:35 +0000 (UTC)
commit 48ad4542c345ddfef964684d5afe31c889c7d375
Author: Ting-Wei Lan <lantw src gnome org>
Date: Fri Feb 16 04:04:24 2018 +0800
doc: add two files and use full path in private_headers
It seems that private_headers doesn't really work because we always do
out-of-tree build. This commit makes it use full paths in the headers
list and adds two files which causes undefined reference error to it.
doc/meson.build | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/doc/meson.build b/doc/meson.build
index 44d853c..39759a0 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -1,11 +1,12 @@
subdir('xml')
-private_headers = [
- 'config.h',
+private_headers = ['config.h']
+
+private_src_headers = [
'dazzle.h',
- 'dazzle-version.h',
'graphing/dzl-column-private.h',
'graphing/dzl-graph-column-private.h',
+ 'menus/dzl-menu-button-section.h',
'panel/dzl-dock-bin-edge-private.h',
'panel/dzl-dock-paned-private.h',
'panel/dzl-tab-private.h',
@@ -19,8 +20,13 @@ private_headers = [
'tree/dzl-tree-private.h',
'util/dzl-util-private.h',
'widgets/dzl-list-box-private.h',
+ 'widgets/dzl-rect-helper.h',
]
+foreach private_src_header : private_src_headers
+ private_headers += [join_paths(meson.source_root(), 'src', private_src_header)]
+endforeach
+
glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
glib_docpath = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
docpath = join_paths(get_option('datadir'), 'gtk-doc', 'html')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]