Subject: Re: [PATCH] meson: regenerate config-list.h when Documentation changes

From: Ben Knoble <[email-masked]>
Date: Sat, 7 Feb 2026 17:38:38 -0500

> Le 7 févr. 2026 à 16:59, D. Ben Knoble <[email-masked]> a écrit :
> 
> diff --git a/generate-configlist-deps.sh b/generate-configlist-deps.sh
> new file mode 100755
> index 0000000000..a873e976b6
> --- /dev/null
> +++ b/generate-configlist-deps.sh
> @@ -0,0 +1,5 @@
> +#! /bin/sh
> +
> +printf '%s\n' \
> +  "$MESON_SOURCE_ROOT"/Documentation/*config.adoc \
> +  "$MESON_SOURCE_ROOT"/Documentation/config/*.adoc
> diff --git a/meson.build b/meson.build
> index 3a1d12caa4..4df7caa206 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -720,6 +720,7 @@ endif
> 
> builtin_sources += custom_target(
>   output: 'config-list.h',
> +  depend_files: run_command(meson.current_source_dir() + '/generate-configlist-deps').stdout().strip().split('\n'),
>   
Ah, woops. I renamed the file locally before committing but forgot to update the meson spec. This line should have the obvious change to use the correct filename. Will send a v2 when I get more feedback.