File: meson.build

package info (click to toggle)
folks 0.15.9-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,516 kB
  • sloc: ansic: 6,382; python: 135; makefile: 25
file content (22 lines) | stat: -rw-r--r-- 715 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
# Build the devhelp documentation for libfolks and each backend library
foreach doc_target : valadoc_targets
  doc_name = doc_target.get('name')

  doc_valadoc = custom_target(doc_name + '-valadoc',
    input: doc_target.get('source_files'),
    output: doc_name,
    command: [ valadoc,
      '--doclet=devhelp',
      '--directory', '@OUTDIR@',
      '--package-name', doc_name,
      docs_common_valadoc_flags,
      docs_common_valadoc_deps,
      doc_target.get('dependencies'),
      '--wiki=@0@'.format(meson.current_source_dir() / '..' / 'wiki'),
      '@INPUT@',
    ],
    depends: doc_target.get('library'),
    install: true,
    install_dir: get_option('datadir') / 'devhelp' / 'books',
  )
endforeach