[go: up one dir, main page]

File: meson.build

package info (click to toggle)
file-roller 43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,516 kB
  • sloc: ansic: 33,566; xml: 254; python: 51; sh: 26; makefile: 18; javascript: 9
file content (33 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (2)
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
if build_api_docs
  toml_data = configuration_data()
  toml_data.set('VERSION', meson.project_version())

  fr_toml = configure_file(
    input: 'file-roller.toml.in',
    output: 'file-roller.toml',
    configuration: toml_data,
  )

  custom_target(
    'file-roller-doc',
    input: [
      fr_toml,
      fr_gir[0],
    ],
    output: 'file-roller',
    command: [
      gi_docgen,
      'generate',
      '--quiet',
      '--add-include-path=@0@'.format(meson.current_build_dir() / '../../src'),
      '--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: docdir,
  )
endif