summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2020-10-05 16:32:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-04 10:55:01 +0000
commit4a6390f5119773709354fdf827fd45d4b60ee421 (patch)
tree28c3ad9346ead0436fca63c7839df51a955e264f /documentation
parentb175f353436eb7411ba3d5010fd8588652393982 (diff)
downloadpoky-4a6390f5119773709354fdf827fd45d4b60ee421.tar.gz
sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level Makefile. (From yocto-docs rev: eb412a93ec93b3413e23f028f33bda88f82ac688) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> (cherry picked from commit 25fefa9a91ba5d7b398443f543e2c46165e8a3f4) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Makefile (renamed from documentation/Makefile.sphinx)6
-rw-r--r--documentation/README2
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/Makefile.sphinx b/documentation/Makefile
index c9518558bb..4d721d30f3 100644
--- a/documentation/Makefile.sphinx
+++ b/documentation/Makefile
@@ -17,9 +17,9 @@ endif
17help: 17help:
18 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 18 @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
19 19
20.PHONY: help Makefile.sphinx clean publish 20.PHONY: help Makefile clean publish
21 21
22publish: Makefile.sphinx html singlehtml 22publish: Makefile html singlehtml
23 rm -rf $(BUILDDIR)/$(DESTDIR)/ 23 rm -rf $(BUILDDIR)/$(DESTDIR)/
24 mkdir -p $(BUILDDIR)/$(DESTDIR)/ 24 mkdir -p $(BUILDDIR)/$(DESTDIR)/
25 cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ 25 cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
@@ -31,5 +31,5 @@ clean:
31 31
32# Catch-all target: route all unknown targets to Sphinx using the new 32# Catch-all target: route all unknown targets to Sphinx using the new
33# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). 33# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
34%: Makefile.sphinx 34%: Makefile
35 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) 35 @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
diff --git a/documentation/README b/documentation/README
index fce3cfe17e..fe86876ee7 100644
--- a/documentation/README
+++ b/documentation/README
@@ -121,7 +121,7 @@ To install all required packages run:
121To build the documentation locally, run: 121To build the documentation locally, run:
122 122
123 $ cd documentation 123 $ cd documentation
124 $ make -f Makefile.sphinx html 124 $ make html
125 125
126The resulting HTML index page will be _build/html/index.html, and you 126The resulting HTML index page will be _build/html/index.html, and you
127can browse your own copy of the locally generated documentation with 127can browse your own copy of the locally generated documentation with