summaryrefslogtreecommitdiff
path: root/doc/grilo/meson.build
blob: ef5740fff5552aa9dac6cb66fca2432465146ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# meson.build
#
# Author: Juan A. Suarez Romero <jasuarez@igalia.com>
#
# Copyright (C) 2016 Igalia S.L. All rights reserved.

types = configure_file(input : 'grilo.types',
  output : 'grilo.types',
  configuration : configuration_data())

private_headers = [
  'grl-sync-priv.h',
  'grl-sync-priv.h',
  'grl-log-priv.h',
  'grl-metadata-key-priv.h',
  'grl-registry-priv.h',
  'grl-plugin-priv.h',
  'grl-operation-priv.h',
  'grl-operation-options-priv.h',
]

gnome.gtkdoc('grilo',
    main_sgml: 'grilo-docs.sgml',
    src_dir: [
        join_paths(source_root, 'src'),
        join_paths(source_root, 'libs'),
    ],
    dependencies: libgrl_dep,
    gobject_typesfile: types,
    install: true,
    scan_args: '--ignore-headers=' + ' '.join(private_headers),
    content_files: [
        'environment-setup.xml',
        'plugins-sources.xml',
        'plugins-testing.xml',
        'quick-start.xml',
        'writing-apps.xml',
        'overview.xml',
        join_paths(source_root, 'examples', 'configuring-plugins.c'),
        join_paths(source_root, 'examples', 'browsing.c'),
        join_paths(source_root, 'examples', 'searching.c'),
        join_paths(source_root, 'examples', 'multivalues.c'),
        join_paths(source_root, 'examples', 'efficient-metadata-resolution.c'),
    ]
)