File: meson.build

package info (click to toggle)
lxc 1%3A6.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,808 kB
  • sloc: ansic: 68,840; sh: 4,266; python: 135; makefile: 59
file content (74 lines) | stat: -rw-r--r-- 1,987 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# SPDX-License-Identifier: LGPL-2.1+

if want_mans
    PAGES = [
        ['lxc', '7'],
        ['lxc.conf', '5'],
        ['lxc.container.conf', '5'],
        ['lxc.system.conf', '5'],
        ['lxc-update-config', '1'],
        ['lxc-usernet', '5'],
        ['lxc-user-nic', '1'],
        ['lxc-usernsexec', '1'],
    ]

    if want_tools
        PAGES += [
            ['lxc-attach', '1'],
            ['lxc-autostart', '1'],
            ['lxc-cgroup', '1'],
            ['lxc-checkconfig', '1'],
            ['lxc-checkpoint', '1'],
            ['lxc-config', '1'],
            ['lxc-console', '1'],
            ['lxc-copy', '1'],
            ['lxc-create', '1'],
            ['lxc-destroy', '1'],
            ['lxc-device', '1'],
            ['lxc-execute', '1'],
            ['lxc-freeze', '1'],
            ['lxc-info', '1'],
            ['lxc-ls', '1'],
            ['lxc-monitor', '1'],
            ['lxc-snapshot', '1'],
            ['lxc-start', '1'],
            ['lxc-stop', '1'],
            ['lxc-top', '1'],
            ['lxc-unfreeze', '1'],
            ['lxc-unshare', '1'],
            ['lxc-wait', '1'],
        ]
    endif

    if want_pam_cgroup
        PAGES += [
            ['pam_cgfs', '8'],
        ]
    endif

    # Common files.
    configure_file(
        configuration: docconf,
        input: 'common_options.sgml.in',
        output: 'common_options.sgml')

    configure_file(
        configuration: docconf,
        input: 'see_also.sgml.in',
        output: 'see_also.sgml')

    # Initial templating.
    foreach page : PAGES
        sgml = configure_file(
            configuration: docconf,
            input: page[0] + '.sgml.in',
            output: page[0] + '.sgml')

        configure_file(
            input: sgml,
            output: page[0] + '.' + page[1],
            command: [sgml2man, '--encoding=UTF-8', page[0] + '.sgml'],
            install: true,
            install_dir: join_paths(mandir, 'man' + page[1]))
    endforeach
endif