diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-07-30 22:36:23 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-07-30 22:40:43 +0200 |
commit | 209a3b690107c2f173c6ff40579b66fd92c1cc0e (patch) | |
tree | baf7d01aea710880c268e69cba1296628f9811fa /Makefile | |
parent | c5cc87803145eaa5c500bd0f8be12a76f7858ecf (diff) |
Make srp/fw-ec/index.html depend on dynamic deps
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |