File: meson.build

package info (click to toggle)
babl 1%3A0.1.122-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,408 kB
  • sloc: ansic: 47,429; python: 180; ruby: 90; sh: 55; makefile: 20
file content (36 lines) | stat: -rw-r--r-- 779 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
# Extra markdown files
babl_doc_content_files = [
]

babl_doc_toml = configure_file(
  input: 'babl.toml.in',
  output: '@BASENAME@',
  configuration: {
    'BABL_VERSION':   version,
    'BABL_LOGO_PATH': 'https://gegl.org/babl/graphics/babl-a4poster.png',
  },
)

babl_docs = custom_target('babl-docs',
  input: babl_gir[0],
  output: lib_name,
  command: [
    gi_docgen,
    'generate',
    '--quiet',
    '--fatal-warnings',
    '--config', babl_doc_toml,
    '--output-dir=@OUTPUT@',
    '--no-namespace-dir',
    '--content-dir=@0@'.format(meson.current_source_dir()),
    '@INPUT@',
  ],
  depend_files: [
    babl_doc_toml,
    babl_doc_content_files,
  ],
  build_by_default: true,
  install: true,
  install_dir: get_option('datadir') / 'doc',
  install_tag: 'docs'
)