aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/meson.build
blob: c4043c882b1ebd346576a8527ae458067629f917 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
nix3_cli_files = custom_target(
  'command-ref-new-cli',
  command : nix_eval_for_docs + [
    '--write-to', '@OUTPUT@',
    '--expr',
    'import @INPUT1@ true (builtins.readFile @INPUT0@)',
  ],
  input : [
    nix3_cli_json,
    files(
      meson.project_source_root() / 'doc/manual/generate-manpage.nix',
      meson.project_source_root() / 'doc/manual/utils.nix',
    ),
  ],
  output : 'new-cli',
)