test-docs: target examples directly

This commit is contained in:
Krystine Sherwin 2024-01-25 11:36:59 +13:00
parent 4ac983e56c
commit 2a14c72110
No known key found for this signature in database
1 changed files with 6 additions and 2 deletions

View File

@ -230,8 +230,12 @@ PYTHON ?= python3
.PHONY: test test-examples test-macros
test: test-examples test-macros
test-examples:
$(MAKE) -C source/_images examples
FORCE:
../%/Makefile: FORCE
+$(MAKE) -C $(@D)
CODE_EXAMPLES := source/code_examples/*/Makefile
test-examples: $(CODE_EXAMPLES)
test-macros:
$(PYTHON) tests/macro_commands.py