aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/contributing/meson.build
blob: 2929578c834aec7080d027c070274e44982513d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Intermediate step for experimental-feature-descriptions.md.
# This splorks the output of generate-xp-features.nix as JSON,
# which gets written as a directory tree below.
experimental_feature_descriptions_md = custom_target(
  command : nix_eval_for_docs + [
    '--expr',
    'import @INPUT0@ (builtins.fromJSON (builtins.readFile @INPUT1@))',
  ],
  input : [
    '../../generate-xp-features.nix',
    xp_features_json,
  ],
  capture : true,
  output : 'experimental-feature-descriptions.md',
)