[LTP] [PATCH v2 1/5] doc/Makefile: Add dependency on metadata/ltp.json
Petr Vorel
pvorel@suse.cz
Thu Feb 6 16:34:31 CET 2025
Fixes: 1bf344a3db ("doc: add tests catalog page")
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
doc/Makefile | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/Makefile b/doc/Makefile
index e536e95db6..c5f60dfa1e 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -1,4 +1,11 @@
-all:
+top_srcdir ?= ..
+
+include $(top_srcdir)/include/mk/env_pre.mk
+
+${abs_top_builddir}/metadata/ltp.json:
+ $(MAKE) -C ${abs_top_builddir}/metadata
+
+all: ${abs_top_builddir}/metadata/ltp.json
sphinx-build -b html . html
spelling:
--
2.47.2
More information about the ltp
mailing list