File: meson.build

package info (click to toggle)
libgedit-gtksourceview 299.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 7,536 kB
  • sloc: ansic: 48,501; xml: 2,620; perl: 206; sh: 51; yacc: 45; makefile: 35; cobol: 20; objc: 19; javascript: 16; fortran: 14; python: 13; cpp: 8; ml: 3
file content (33 lines) | stat: -rw-r--r-- 991 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
subdir('xml')

FS.copyfile(
  'libgedit-gtksourceview-sections.txt',
  'libgedit-gtksourceview-@0@-sections.txt'.format(LIBGEDIT_GTKSOURCEVIEW_API_VERSION)
)

gtkdoc_module_name = 'libgedit-gtksourceview-@0@'.format(LIBGEDIT_GTKSOURCEVIEW_API_VERSION)
html_dir = get_option('prefix') / GNOME.gtkdoc_html_dir(gtkdoc_module_name)

GNOME.gtkdoc(
  gtkdoc_module_name,
  main_xml: 'libgedit-gtksourceview-docs.xml',
  src_dir: include_directories('../../gtksourceview/'),
  dependencies: LIBGEDIT_GTKSOURCEVIEW_LIB_DEP,
  scan_args: ['--rebuild-types'],
  gobject_typesfile: 'libgedit-gtksourceview-@0@.types'.format(LIBGEDIT_GTKSOURCEVIEW_API_VERSION),
  fixxref_args: [
    '--html-dir=@0@'.format(html_dir),
  ],
  content_files: [
    'intro.xml',
    'lang-reference.xml',
    'lang-tutorial.xml',
    'porting-guides.xml',
    'style-reference.xml',
  ],
  ignore_headers: [
    LIBGEDIT_GTKSOURCEVIEW_PRIVATE_HEADERS,
    WORDS_COMPLETION_PROVIDER_PRIVATE_HEADERS,
  ],
  install: true
)