summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2021-10-06 14:17:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-08 22:01:24 +0100
commit6910fceb7a31bd4029fcd89eab9c44fbaca62439 (patch)
tree5ded674ec2cd7562c8c6650d2a6fbf90133b34e6 /documentation/Makefile
parent9c70174e5c5e91d159db704a154896ec5a1035f6 (diff)
downloadpoky-6910fceb7a31bd4029fcd89eab9c44fbaca62439.tar.gz
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 <michael.opdenacker@bootlin.com> Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index f015026562..f04f381bd2 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -20,7 +20,7 @@ endif
20help: 20help:
21 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 21 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
22 22
23.PHONY: help Makefile clean publish epub latexpdf 23.PHONY: all help Makefile clean publish epub latexpdf
24 24
25publish: Makefile html singlehtml 25publish: Makefile html singlehtml
26 rm -rf $(BUILDDIR)/$(DESTDIR)/ 26 rm -rf $(BUILDDIR)/$(DESTDIR)/
@@ -52,6 +52,8 @@ epub: $(PNGs)
52latexpdf: $(PDFs) 52latexpdf: $(PDFs)
53 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 53 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
54 54
55all: html epub latexpdf
56
55# Catch-all target: route all unknown targets to Sphinx using the new 57# Catch-all target: route all unknown targets to Sphinx using the new
56# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 58# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
57%: 59%: