From: Ian Jackson Date: Sat, 23 Nov 2019 18:42:31 +0000 (+0000) Subject: subdirmk: Fix bug in regen.mk.in X-Git-Tag: subdirmk/0.1~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=subdirmk.git;a=commitdiff_plain;h=a1e52614e600bed8e51b461e6569f2cd263e82bb;hp=6fce06f32c1dd21b5c2d7a142d54b7153d650574 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 --- 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) \