From a4d9f732b93f499b96e3a52459c5f7d2366da14a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 29 Dec 2019 11:01:18 +0000 Subject: [PATCH] tests/example: Include non-.sd.mk files in SUBDIRMK_MAKEFILES subdirmk.ac provides @_SUBDIRMK_MAKEFILES@ which is a list of the *.mk makefiles (corresponding to *.mk.in makefiles) passed to SUBDIRMK_MAKEFILES. These need to be included in the identically-named make variable for regen.mk to rerun config.status when the .in files are edited. 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 b9625d7..11e8a32 100644 --- a/regen.mk.in +++ b/regen.mk.in @@ -33,7 +33,8 @@ $(top_srcdir)/$(CONFIGURE): $(addprefix $(top_srcdir)/,$(CONFIGURE_ACS)) $(CONFIG_STATUS): $(top_srcdir)/$(CONFIGURE) ./$(CONFIG_STATUS) --recheck -# Normally, generate will add all the inputs to MAKEFILE_TEMPLATES. +# generate will add all its own inputs and outputs to these variables +SUBDIRMK_MAKEFILES += @_SUBDIRMK_MAKEFILES@ MAKEFILE_TEMPLATES += $(addprefix $(top_srcdir)/, $(addsuffix .in, \ @_SUBDIRMK_MAKEFILES@ \ )) -- 2.30.2