commit f351fb8a986546172901ce5444b436e0f33ca8e9 parent 6ef06575a43cb4269968b98dada6b645ec5c76bb Author: Vincent Forest <vincent.forest@meso-star.com> Date: Wed, 27 Aug 2025 16:29:47 +0200 Force hooks to run Hooks were not executed if their associated section did not contain any dynamic content. Diffstat:
| M | Makefile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -28,13 +28,14 @@ default: build build clean distclean lint install: hooks index @$(MAKE) -f.hooks -f.index -fMakefile $@__ \ - HTML="$$($(SHELL) ./scripts/list.sh html | tr '\n' ' ')" \ - SH="$$( $(SHELL) ./scripts/list.sh shell | tr '\n' ' ')" + HTML=" $$($(SHELL) ./scripts/list.sh html | tr '\n' ' ')" \ + HOOK=" $$($(SHELL) ./scripts/list.sh hook | tr '\n' ' ')" \ + SH=" $$($(SHELL) ./scripts/list.sh shell | tr '\n' ' ')" hooks index: $(SHELL) scripts/$@.sh > .$@ -build__: $(HTML) +build__: $(HTML) $(HOOK:.sh=.hook) clean__: rm -f .hooks