summaryrefslogtreecommitdiff
path: root/docs/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-13 10:42:31 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-13 10:43:36 -0400
commitaceb58182019924a246e85d1b827058d50557952 (patch)
tree1ecb9ff777a9e706d3f99ec35025568491da7c6c /docs/meson.build
parent0f44a2b18d29022a5de9613feaf8cce4c6795aa3 (diff)
downloadpango-aceb58182019924a246e85d1b827058d50557952.tar.gz
Improve docs build
We want to include api docs for platform-specific apis. Avoid getting build failures for introspection by explictly generating a types file with only the linux types.
Diffstat (limited to 'docs/meson.build')
-rw-r--r--docs/meson.build25
1 files changed, 3 insertions, 22 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 419ab503..a99448af 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -36,26 +36,6 @@ private_headers = [
'pangocoretext-private.h',
]
-if host_system != 'darwin'
- private_headers += [
- 'pangocairo-coretextfont.h',
- 'pangocairo-coretext.h',
- 'pangocoretext.h',
- ]
-endif
-
-if host_system != 'windows'
- private_headers += [
- 'pangocairo-win32.h',
- 'pangowin32.h',
- ]
-else
- private_headers += [
- 'pangoxft.h',
- 'pangoxft-render.h',
- ]
-endif
-
content_files = [
'pango_markup.sgml',
'version.xml',
@@ -96,9 +76,10 @@ gnome.gtkdoc('pango',
join_paths(meson.build_root(), 'pango'),
],
dependencies: docdeps,
- gobject_typesfile: 'pango.types',
+ gobject_typesfile: configure_file(input: 'pango.types.in',
+ output: 'pango.types',
+ configuration: pango_conf),
scan_args: [
- '--rebuild-types',
'--deprecated-guards=PANGO_DISABLE_DEPRECATED',
'--ignore-decorators=_PANGO_EXTERN',
'--ignore-headers=' + ' '.join(private_headers),