Hi Peff, On Tue, 16 Nov 2021, Jeff King wrote: > I wondered if contrib/buildsystems/CMakeLists would need a similar > fixup, but it doesn't have any generated header dependencies at all (not > for hook-list.h, but not for the existing command-list.h). So I'll > assume it's fine (as did cfe853e66b). The strategy we take in our CMake-based configuration is for files like hook-list.h to be generated at _configure_ time, i.e. before the build definition file is written, i.e. well before the build. That's why there is no explicit dependency, it's not necessary. Ciao, Dscho