meson.build 895 Bytes
Newer Older
Zeeshan Ali's avatar
Zeeshan Ali committed
1 2 3 4 5 6 7 8 9 10 11 12
conf = configuration_data()
conf.set_quoted('VERSION', gclue_version)
version_file = configure_file(output: 'version.xml',
                              input: 'version.xml.in',
                              configuration: conf)

content_files = [ '../../COPYING.LIB' ]
scan_options = [ '--ignore-headers=config.h', '--rebuild-types' ]
# Extra options to supply to gtkdoc-mkdb
mkdb_options = [ '--output-format=xml' ]
src_dir = [ 'public-api', 'libgeoclue' ]

13 14
fixxref_options = [ '--extra-dir=../html' ]

Zeeshan Ali's avatar
Zeeshan Ali committed
15 16 17 18 19 20
gnome.gtkdoc('libgeoclue',
             main_xml: 'libgeoclue-docs.xml',
             content_files: content_files,
             gobject_typesfile: 'libgeoclue.types',
             dependencies: libgeoclue_dep,
             scan_args: scan_options,
21
             fixxref_args: fixxref_options,
Zeeshan Ali's avatar
Zeeshan Ali committed
22 23 24
             src_dir: src_dir,
             mkdb_args: mkdb_options,
             install: true)