[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:27:21 +0000 (UTC)
commit 48573df09225ecb598d884a8e9ebcb69df363601
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/dazzle-docs.sgml | 1 -
doc/meson.build | 12 +++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/doc/dazzle-docs.sgml b/doc/dazzle-docs.sgml
index f12f835..a3a946e 100644
--- a/doc/dazzle-docs.sgml
+++ b/doc/dazzle-docs.sgml
@@ -68,7 +68,6 @@
<xi:include href="xml/dzl-animation.xml"/>
<xi:include href="xml/dzl-frame-source.xml"/>
<xi:include href="xml/dzl-box-theatric.xml"/>
- <xi:include href="xml/dzl-rect-helper.xml"/>
</part>
<part id="dazzle-groups">
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]