From: Yann E. MORIN Date: Wed, 29 Jan 2025 22:29:18 +0000 (-0700) Subject: tests/local.mk: fix dependencies for generating the wrapper template X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a10ce78ead5516ed1348bbcdae58160fff70b898;p=thirdparty%2Fautoconf.git tests/local.mk: fix dependencies for generating the wrapper template Generating the tests wrapper template currently depends on the dependencies needed for the frozen lib/m4sugar/m4sh.m4f. However, it also requires that frozen sugar to actually be generated, or the build will fail if it is not (or at least if it is in the process of being generated). Change the dependency to actually depend on the generated file, rather than on its dependencies. This kind of failure has been noticed on highly parallel builds on very loaded machines. Copyright-paperwork-exempt: yes --- diff --git a/tests/local.mk b/tests/local.mk index 5c45d9eed..6a2c06a81 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -63,7 +63,7 @@ CLEANFILES += \ tests/wrapper.in \ $(wrappers) -tests/wrapper.in: $(srcdir)/tests/wrapper.as $(m4sh_m4f_dependencies) +tests/wrapper.in: $(srcdir)/tests/wrapper.as lib/m4sugar/m4sh.m4f $(MY_AUTOM4TE) --language=M4sh $(srcdir)/tests/wrapper.as -o $@ edit_wrapper = sed \