From a1e52614e600bed8e51b461e6569f2cd263e82bb 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 --- regen.mk.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/regen.mk.in b/regen.mk.in index a9fd30c..c4002a6 100644 --- a/regen.mk.in +++ b/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