Re: [PATCH] meson: regenerate config-list.h when Documentation changes
Show 23 quoted lines
> Le 7 févr. 2026 à 16:59, D. Ben Knoble <ben.knoble+github@gmail.com> 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.