File: meson.build

package info (click to toggle)
evince 49~alpha-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,232 kB
  • sloc: ansic: 72,397; xml: 324; sh: 94; makefile: 21
file content (26 lines) | stat: -rw-r--r-- 647 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
libevdocument_toml = configure_file(
  input: 'libevdocument.toml.in',
  output: 'libevdocument-' + ev_api_version + '.toml',
  configuration: toml_conf,
  install: true,
  install_dir: docs_dir / 'libevdocument',
)

custom_target('libevdocument-doc',
  input: [ libevdocument_toml, libevdocument_gir[0] ],
  output: 'libevdocument',
  command: [
    gidocgen,
    'generate',
    '--quiet',
    '--fatal-warnings',
    '--config=@INPUT0@',
    '--output-dir=@OUTPUT@',
    '--no-namespace-dir',
    '--content-dir=@0@'.format(meson.current_source_dir()),
    '@INPUT1@',
  ],
  build_by_default: true,
  install: true,
  install_dir: docs_dir,
)