From 6910fceb7a31bd4029fcd89eab9c44fbaca62439 Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Wed, 6 Oct 2021 14:17:46 +0200 Subject: docs: add "make all" to build old types of docs (html, epub, pdf) at once (From yocto-docs rev: 8ce6aa0d4c0985e187464c7578662ff7581bc9ce) Signed-off-by: Michael Opdenacker Reviewed-by: Nicolas Dechesne Signed-off-by: Quentin Schulz Signed-off-by: Richard Purdie --- documentation/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'documentation/Makefile') diff --git a/documentation/Makefile b/documentation/Makefile index f015026562..f04f381bd2 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -20,7 +20,7 @@ endif help: @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -.PHONY: help Makefile clean publish epub latexpdf +.PHONY: all help Makefile clean publish epub latexpdf publish: Makefile html singlehtml rm -rf $(BUILDDIR)/$(DESTDIR)/ @@ -52,6 +52,8 @@ epub: $(PNGs) latexpdf: $(PDFs) @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) +all: html epub latexpdf + # Catch-all target: route all unknown targets to Sphinx using the new # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). %: -- cgit v1.2.3-54-g00ecf