From 6a95aee5ce66a79936c4731f4a1df52d86f36128 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 23 Nov 2019 18:42:31 +0000 Subject: [PATCH] subdirmk: Fix bug in regen.mk.in Apparently, if you just write `;', make knows that the command can't have done anything. It therefore concludes tha the target file cannot have been updated and doesn't bother rereading it. The result is that you end up using last run's makefiles. Writing @: fixes this. Signed-off-by: Ian Jackson --- subdirmk/regen.mk.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subdirmk/regen.mk.in b/subdirmk/regen.mk.in index a9fd30c..c4002a6 100644 --- a/subdirmk/regen.mk.in +++ b/subdirmk/regen.mk.in @@ -35,7 +35,8 @@ MAKEFILE_TEMPLATES += $(addprefix $(top_srcdir)/, $(addsuffix .in, \ @_SUBDIRMK_MAKEFILES@ \ )) -main.mk $(SUBDIRMK_MAKEFILES) $(CONFIG_STATUS_OUTPUTS): .makefiles.stamp ; +main.mk $(SUBDIRMK_MAKEFILES) $(CONFIG_STATUS_OUTPUTS): .makefiles.stamp + @: .makefiles.stamp: \ $(top_srcdir)/subdirmk/generate \ $(CONFIG_STATUS) \ -- 2.30.2