doc: fix rl-next build

Use the correct directory for the rl-next build, so that the release notes
actually get built and the page doesn't end up empty. I don't know why the
exception didn't cause a build failure before.

Fixes: #297
Change-Id: Ic72b9bb4c0d2d1f633f2af90cce4a3a2796d7f9b
This commit is contained in:
alois31 2024-05-15 18:33:44 +02:00 committed by alois31
parent f5828f2ee0
commit f6397cc286

View file

@ -4,9 +4,9 @@ rl_next_generated = custom_target(
'-c', '-c',
''' '''
if type -p build-release-notes > /dev/null; then if type -p build-release-notes > /dev/null; then
build-release-notes @CURRENT_SOURCE_DIR@ build-release-notes @CURRENT_SOURCE_DIR@/../../rl-next
fi fi
@0@ @INPUT0@ @CURRENT_SOURCE_DIR@ > @DEPFILE@ @0@ @INPUT0@ @CURRENT_SOURCE_DIR@/../../rl-next > @DEPFILE@
'''.format( '''.format(
python.full_path(), python.full_path(),
), ),