aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/release-notes
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/release-notes')
-rw-r--r--doc/manual/src/release-notes/meson.build20
-rw-r--r--doc/manual/src/release-notes/rl-next.md2
2 files changed, 21 insertions, 1 deletions
diff --git a/doc/manual/src/release-notes/meson.build b/doc/manual/src/release-notes/meson.build
new file mode 100644
index 000000000..87e74c248
--- /dev/null
+++ b/doc/manual/src/release-notes/meson.build
@@ -0,0 +1,20 @@
+rl_next_generated = custom_target(
+ command : [
+ 'bash',
+ '-c',
+ '''
+ if type -p build-release-notes > /dev/null; then
+ build-release-notes @CURRENT_SOURCE_DIR@
+ fi
+ @0@ @INPUT0@ @CURRENT_SOURCE_DIR@ > @DEPFILE@
+ '''.format(
+ python.full_path(),
+ ),
+ ],
+ input : [
+ generate_manual_deps,
+ ],
+ output : 'rl-next-generated.md',
+ capture : true,
+ depfile : 'rl-next.d',
+)
diff --git a/doc/manual/src/release-notes/rl-next.md b/doc/manual/src/release-notes/rl-next.md
index 35033f7b6..bf4bb194b 100644
--- a/doc/manual/src/release-notes/rl-next.md
+++ b/doc/manual/src/release-notes/rl-next.md
@@ -1,3 +1,3 @@
# Upcoming release
-{{#include rl-next-generated.md}}
+{{#include @generated@/release-notes/rl-next-generated.md}}