From 209a3b690107c2f173c6ff40579b66fd92c1cc0e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 30 Jul 2023 22:36:23 +0200 Subject: Make srp/fw-ec/index.html depend on dynamic deps --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 85414f6..df713e2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ .PHONY: check clean serve +gendeps = ${filter-out %/index.html,${wildcard ${1}/*}} includes := ${wildcard include/*} srcdirs := ${shell find src -type d} outdirs := ${srcdirs:src%=out%} @@ -20,7 +21,8 @@ out/%.html: src/%.html ${includes} @m4 -P ${foreach dir,${^D},-I${dir}} include/lib.m4 $< >$@ @printf 'M4\t%s\n' "$@" -src/srp/fw-ec/index.html: src/srp/fw-ec/led.diff.html +src/srp/fw-ec/index.html: ${call gendeps,src/srp/fw-ec} + @touch $@ @touch $@ check: -- cgit v1.2.3