File: meson.build

package info (click to toggle)
gtk-layer-shell 0.9.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,564 kB
  • sloc: ansic: 15,257; python: 1,437; xml: 417; makefile: 18
file content (24 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
subdir('xml')

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')

gnome.gtkdoc(
    'gtk-layer-shell',
    main_xml: 'gtk-layer-shell-docs.sgml',
    src_dir: [
        join_paths(meson.source_root(), 'include'),
        join_paths(meson.build_root(), 'include'),
    ],
    dependencies: [ gtk, wayland_client, wayland_scanner, ],
    fixxref_args: [
        '--html-dir=@0@'.format(docpath),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'glib')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gobject')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gio')),
        '--extra-dir=@0@'.format(join_paths(glib_docpath, 'gtk3')),
    ],
    install_dir: 'gtk-layer-shell',
    install: true
)