File: meson.build

package info (click to toggle)
xfce4-panel 4.20.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,212 kB
  • sloc: ansic: 61,588; sh: 5,515; makefile: 1,330; python: 128; xml: 101; sed: 16
file content (40 lines) | stat: -rw-r--r-- 1,190 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
34
35
36
37
38
39
40
if get_option('gtk-doc')
  libxfce4panel_doc_name = 'libxfce4panel'

  conf_data = configuration_data()
  conf_data.set_quoted('PACKAGE_NAME', libxfce4panel_doc_name)
  conf_data.set_quoted('PACKAGE_VERSION', meson.project_version())
  conf_data.set_quoted('PACKAGE_STRING', '@0@-@1@'.format(libxfce4panel_doc_name, meson.project_version()))

  configure_file(
    input: 'gtkdocentities.ent.in',
    output: 'gtkdocentities.ent',
    configuration: conf_data,
  )

  configure_file(
    configuration: configuration_data({
      'COPYRIGHT_YEAR': copyright_year,
    }),
    input: 'libxfce4panel-docs.xml.in',
    output: 'libxfce4panel-docs.xml',
    install: false,
  )

  gnome.gtkdoc(
    libxfce4panel_doc_name,
    src_dir: 'libxfce4panel',
    ignore_headers: [
      'libxfce4panel-visibility.h',
      'libxfce4panel-marshal.h',
      'xfce-panel-plugin-provider.h',
      'libxfce4panel-enum-types.h',
    ],
    main_xml: meson.project_build_root() / 'docs' / 'reference' / 'libxfce4panel-docs.xml',
    dependencies: libxfce4panel_dep,
    gobject_typesfile: 'libxfce4panel.types',
    install: true,
    check: false,
    module_version: libxfce4panel_version_api,
  )
endif