From 25b7406d11ea3703be864097af66ce95611dde72 Mon Sep 17 00:00:00 2001 From: David Gibson Date: Sat, 24 Dec 2016 23:46:29 +1100 Subject: [PATCH] Makefile: Make module checks depend on info file Changing the _info file can change how ccanlint assesses the module. Therefore, if the _info file changes, we should re-run ccanlint module tests with make check. We didn't previously have a dependency for that, though, so this adds it. Signed-off-by: David Gibson --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9dfed10..d1e08a37 100644 --- a/Makefile +++ b/Makefile @@ -71,7 +71,7 @@ $(LINT): $(LINT).c $(LINT_OBJS) TEST_DEPS := $(MODULES:%=%/.d) # We produce .ok files when the tests succeed -%.ok: $(LINT) +%.ok: $(LINT) %info $(PRE)$(LINT) $(LINT_OPTS$(notdir $@)) --deps-fail-ignore $(LINTFLAGS) $(dir $*) && touch $@ check: $(MODULES:%=%/.ok) -- 2.39.2