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>
This commit is contained in:
Antonin Godard
2024-11-15 15:35:39 +01:00
committed by Steve Sakoman
parent c4d89e92a7
commit 25c2ab08ef

View File

@@ -26,12 +26,10 @@ help:
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
publish: Makefile epub latexpdf html singlehtml
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/_static
cp $(BUILDDIR)/epub/TheYoctoProject.epub $(BUILDDIR)/latex/theyoctoproject.pdf $(BUILDDIR)/$(DESTDIR)/_static/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html