File: meson.build

package info (click to toggle)
composefs 1.0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,040 kB
  • sloc: ansic: 9,004; sh: 416; python: 225; makefile: 5
file content (34 lines) | stat: -rw-r--r-- 661 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
# SPDX-License-Identifier: GPL-2.0-or-later OR Apache-2.0
manuals = {
    '1': [
        'mkcomposefs',
        'composefs-info',
    ],
    '5': [
        'composefs-dump',
    ],
    '8': [
        'mount.composefs',
    ],
}

foreach section, pages: manuals
  foreach page: pages
    output = page + '.' + section
    input = page + '.md'
    sectiondir = 'man' + section

    custom_target(
      output,
      command: [
          go_md2man,
          '-in', '@INPUT@',
          '-out', '@OUTPUT@',
      ],
      input: input,
      install: true,
      install_dir: get_option('mandir') / sectiondir,
      output: output,
    )
  endforeach
endforeach