Re: [PATCH v5] build: regenerate config-list.h when Documentation changes
On Thu, Feb 19, 2026 at 10:10 AM Marc Branchaud <marcnarc@xiplink.com> wrote:
Show 24 quoted lines
>
>
> On 2026-02-18 07:37, D. Ben Knoble wrote:
> > The Meson-based build doesn't know when to rebuild config-list.h, so the
> > header is sometimes stale.
> >
> > For example, an old build directory might have config-list.h from before
> > 4173df5187 (submodule: introduce extensions.submodulePathConfig,
> > 2026-01-12), which added submodule.<name>.gitdir to the list. Without
> > it, t9902-completion.sh fails. Regenerating the config-list.h artifact
> > from sources fixes the artifact and the test.
> >
> > Teach the meson build to depend on the Documentation files that
> > generate-configlist.sh reads by having it an additional output as a list
> > of dependency files, since Meson does not have (or want) builtin support
> > for globbing like Make.
>
> That sentence doesn't parse. Maybe this?
>
> Since Meson does not have (or want) builtin support for globbing like
> Make, teach generate-configlist.sh to generate a dependency list of the
> Documentation files it reads, and have the Meson build incorporate that.
>
> M.
Thanks. That sentence is looking stranger than when I first wrote it. Will fix.