[LTP] [PATCH v2 2/2] Makefile: Update 'doc' target to build sphinx doc

Petr Vorel pvorel@suse.cz
Wed Feb 12 00:35:52 CET 2025


'doc' target previously run docparse documentation. Point it to doc/
directory so that it build sphinx docs.

NOTE: Until docparse is removed it's also being build because its build
is triggered by metadata dependency.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
New in v2.

This was supposed to be part of 'Remove asciidoc{,tor} doc' patchset,
but it can be merged even before.
https://patchwork.ozlabs.org/project/ltp/list/?series=443287&state=*

Kind regards,
Petr

 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 5066789349..760c897c25 100644
--- a/Makefile
+++ b/Makefile
@@ -170,7 +170,9 @@ INSTALL_TARGETS		+= $(addprefix $(DESTDIR)/$(bindir)/,$(BINDIR_INSTALL_SCRIPTS))
 $(INSTALL_TARGETS): $(INSTALL_DIR) $(DESTDIR)/$(bindir)
 
 .PHONY: doc
+
 doc: metadata-all
+	$(MAKE) -C $(abs_builddir)/doc
 
 .PHONY: check
 check: $(CHECK_TARGETS)
-- 
2.47.2



More information about the ltp mailing list