aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes/meson.build
blob: a33798bc1456db73827a38ecbcdbf8c3f5fb1374 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
rl_next_generated = custom_target(
  command : [
    'bash',
    '-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',
)