Skip to contentSkip to conversation

doc: Makefile: publish pdf and epub versions too

PATCH New [email protected] 1 participant 1 message Jun 15, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: Makefile: publish pdf and epub versions too

From: Michael Opdenacker <[email protected]>

[YOCTO #14357]

---
 documentation/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
documentation/Makefile +2 -2
index 9fb6814c8f..e013f68e7f 100644
@@ -22,10 +22,10 @@ help:
 
 .PHONY: all help Makefile clean publish epub latexpdf
 
-publish: Makefile html singlehtml
+publish: Makefile html singlehtml epub latexpdf
 	rm -rf $(BUILDDIR)/$(DESTDIR)/
 	mkdir -p $(BUILDDIR)/$(DESTDIR)/
-	cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
+	cp -r $(BUILDDIR)/html/* $(BUILDDIR)/epub/TheYoctoProject.epub $(BUILDDIR)/latex/theyoctoproject.pdf $(BUILDDIR)/$(DESTDIR)/
 	cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
 	sed -i -e '[email protected]#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
 
Signature · 1 line
2.34.1