diff options
| -rw-r--r-- | documentation/Makefile | 4 |
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 | ||
| 29 | publish: Makefile html singlehtml | 29 | publish: 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 | ||
