File: meson.build

package info (click to toggle)
enter-tex 3.48.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,460 kB
  • sloc: ansic: 10,657; xml: 3,025; makefile: 8; sh: 7
file content (36 lines) | stat: -rw-r--r-- 1,675 bytes parent folder | download
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
gtkdoc_module_name = 'enter-tex'
html_dir = get_option('prefix') / GNOME.gtkdoc_html_dir(gtkdoc_module_name)

glib_docpath = dependency('glib-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/glib'
gobject_docpath = dependency('gobject-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gobject'
gio_docpath = dependency('gio-2.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gio'
gtk_docpath = dependency('gtk+-3.0').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/gtk3'
gsv_docpath = dependency('libgedit-gtksourceview-300').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/libgedit-gtksourceview-300'
amtk_docpath = dependency('libgedit-amtk-5').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/libgedit-amtk-5'
tepl_docpath = dependency('libgedit-tepl-6').get_variable(pkgconfig: 'prefix') / 'share/gtk-doc/html/libgedit-tepl-6'

GNOME.gtkdoc(
  gtkdoc_module_name,
  main_xml: gtkdoc_module_name + '-docs.xml',
  src_dir: include_directories('../../src/gtex/'),
  dependencies: GTEX_SHARED_LIB_DEP,
  scan_args: ['--rebuild-types'],
  gobject_typesfile: gtkdoc_module_name + '.types',
  fixxref_args: [
    '--html-dir=@0@'.format(html_dir),
    '--extra-dir=@0@'.format(glib_docpath),
    '--extra-dir=@0@'.format(gobject_docpath),
    '--extra-dir=@0@'.format(gio_docpath),
    '--extra-dir=@0@'.format(gtk_docpath),
    '--extra-dir=@0@'.format(gsv_docpath),
    '--extra-dir=@0@'.format(amtk_docpath),
    '--extra-dir=@0@'.format(tepl_docpath),
  ],
  ignore_headers: [
    'dh-dconf-migration.h',
    'gtex-enum-types.h',
    'gtex-structure-types.h',
    'gtex-templates-common.h',
  ],
  install: true,
)