diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-11-15 15:35:39 +0100 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-11-15 06:51:25 -0800 |
commit | 25c2ab08ef69319e5ad6492f94527af34d9799db (patch) | |
tree | fb11afd4e0747b23e78675023af53b1bfd597c03 | |
parent | c4d89e92a74c37ba5f0b9a53613aeabb7b51ba0e (diff) | |
download | poky-25c2ab08ef69319e5ad6492f94527af34d9799db.tar.gz |
Revert "doc: Makefile: publish pdf and epub versions too"
This reverts commit 96947b5c0e79fa0e9500388585cce5f2b91e69db.
(From yocto-docs rev: 26b78e1c2f63280cf228bba7349a0ca8bfdd8fd2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | documentation/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index d07baf0d23..402ad986ae 100644 --- a/documentation/Makefile +++ b/documentation/Makefile | |||
@@ -26,12 +26,10 @@ help: | |||
26 | 26 | ||
27 | .PHONY: all help Makefile clean stylecheck publish epub latexpdf | 27 | .PHONY: all help Makefile clean stylecheck publish epub latexpdf |
28 | 28 | ||
29 | publish: Makefile epub latexpdf html singlehtml | 29 | publish: Makefile html singlehtml |
30 | rm -rf $(BUILDDIR)/$(DESTDIR)/ | 30 | rm -rf $(BUILDDIR)/$(DESTDIR)/ |
31 | mkdir -p $(BUILDDIR)/$(DESTDIR)/ | 31 | mkdir -p $(BUILDDIR)/$(DESTDIR)/ |
32 | cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ | 32 | cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/ |
33 | mkdir -p $(BUILDDIR)/$(DESTDIR)/_static | ||
34 | cp $(BUILDDIR)/epub/TheYoctoProject.epub $(BUILDDIR)/latex/theyoctoproject.pdf $(BUILDDIR)/$(DESTDIR)/_static/ | ||
35 | cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html | 33 | cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html |
36 | sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html | 34 | sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html |
37 | 35 | ||