Debian Codegraph @

docs/reference/meson.build

raw
1 subdir('xml')
2
3 FS.copyfile(
4 'libgedit-amtk-sections.txt',
5 'libgedit-amtk-@[email protected]'.format(AMTK_API_VERSION)
6 )
7
8 gtkdoc_module_name = 'libgedit-amtk-@0@'.format(AMTK_API_VERSION)
9 html_dir = get_option('prefix') / GNOME.gtkdoc_html_dir(gtkdoc_module_name)
10
11 glib_docpath = dependency('glib-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/glib'
12 gobject_docpath = dependency('gobject-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gobject'
13 gio_docpath = dependency('gio-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gio'
14 gtk_docpath = dependency('gtk+-3.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gtk3'
15
16 GNOME.gtkdoc(
17 gtkdoc_module_name,
18 main_xml: 'libgedit-amtk-docs.xml',
19 src_dir: include_directories('../../amtk/'),
20 dependencies: AMTK_LIB_DEP,
21 scan_args: ['--rebuild-types'],
22 gobject_typesfile: 'libgedit-amtk-@[email protected]'.format(AMTK_API_VERSION),
23 fixxref_args: [
24 '--html-dir=@0@'.format(html_dir),
25 '--extra-dir=@0@'.format(glib_docpath),
26 '--extra-dir=@0@'.format(gobject_docpath),
27 '--extra-dir=@0@'.format(gio_docpath),
28 '--extra-dir=@0@'.format(gtk_docpath)
29 ],
30 content_files: [
31 'libgedit-amtk-intro.xml',
32 'actions-menus-toolbars-gradual-porting.xml',
33 'actions-menus-toolbars-intro.xml',
34 ],
35 install: true
36 )