File: meson.build

package info (click to toggle)
network-manager 1.54.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 71,424 kB
  • sloc: ansic: 483,661; python: 11,632; xml: 8,546; sh: 5,555; perl: 596; cpp: 178; javascript: 130; ruby: 107; makefile: 60; lisp: 22
file content (56 lines) | stat: -rw-r--r-- 1,140 bytes parent folder | download | duplicates (4)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# SPDX-License-Identifier: LGPL-2.1-or-later

if enable_introspection
  settings = 'settings-spec'
  output = settings + '.xml'

  inputs = [
    settings + '.xsl',
    nm_settings_docs_xml['dbus'],
  ]

  content_files += custom_target(
    output,
    input: inputs,
    output: output,
    command: [xsltproc, '--output', '@OUTPUT@', '@INPUT0@', '@INPUT1@'],
    build_by_default: true,
  )
endif

content_files += configure_file(
  input: 'version.xml.in',
  output: '@BASENAME@',
  configuration: data_conf,
)

filecopier = find_program('cp')
foreach intro: introspection_files
  output = intro[1].split('/')[-1]

  content_files += custom_target(
    output,
    input: intro[0],
    output: output,
    command: [filecopier, intro[1], '@OUTPUT@'],
    build_by_default: true,
  )
endforeach

output = 'common.ent'

content_files += custom_target(
  output,
  input: common_ent_file,
  output: output,
  command: [filecopier, '@INPUT@', '@OUTPUT@'],
  build_by_default: true,
)

gnome.gtkdoc(
  nm_name,
  main_xml: 'network-manager-docs.xml',
  src_dir: meson.current_source_dir(),
  content_files: content_files,
  install: true,
)