summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/documentation/Makefile b/documentation/Makefile
index 30bb71cb31..65e29713d4 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -26,10 +26,12 @@ 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
29publish: Makefile html singlehtml 29publish: Makefile epub latexpdf 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/
33 cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html 35 cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
34 sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html 36 sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
35 37