aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes/meson.build
blob: cbcc58e1f29916468a1bf47f0b0fdff1e9b013b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
rl_next_generated = custom_target(
  command : [
    'bash',
    '-euo',
    'pipefail',
    '-c',
    '''
      if type -p build-release-notes > /dev/null; then
        build-release-notes @CURRENT_SOURCE_DIR@/../../rl-next
      fi
      @0@ @INPUT0@ @CURRENT_SOURCE_DIR@/../../rl-next > @DEPFILE@
    '''.format(
      python.full_path(),
    ),
  ],
  input : [
    generate_manual_deps,
  ],
  output : 'rl-next-generated.md',
  capture : true,
  depfile : 'rl-next.d',
)