diff options
-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: |