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>2020-10-06 13:56:17 +0100
commita6b78aa2541c9b348e6bd5e53bd1c8efa0faadf2 (patch)
treec1000f175608e2e0f5bb79f9f875e1c68f217ae7 /documentation
parent43d07a285181e64c30d98d10ff93ef50391efe59 (diff)
downloadpoky-a6b78aa2541c9b348e6bd5e53bd1c8efa0faadf2.tar.gz
sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level Makefile. (From yocto-docs rev: 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