mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
eb7d7780b1
This is needed to avoid this https://github.com/mesonbuild/meson/issues/13774 when we go back to making our subproject directory `src`.
24 lines
634 B
Meson
24 lines
634 B
Meson
rl_next_generated = custom_target(
|
|
command : [
|
|
'bash',
|
|
'-euo',
|
|
'pipefail',
|
|
'-c',
|
|
'''
|
|
if type -p build-release-notes > /dev/null; then
|
|
build-release-notes --change-authors @CURRENT_SOURCE_DIR@/../../change-authors.yml @CURRENT_SOURCE_DIR@/../../rl-next
|
|
elif type -p changelog-d > /dev/null; then
|
|
changelog-d @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.md',
|
|
capture : true,
|
|
depfile : 'rl-next.d',
|
|
)
|