diff options
-rwxr-xr-x | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -64,7 +64,7 @@ APPENDIXS = docs/appendix-a.md \ all: book -book: epub html pdf +book: epub html pdf odf clean: rm $(BOOKNAME).* @@ -79,6 +79,8 @@ html: $(BOOKNAME).html pdf: $(BOOKNAME).pdf +odf: $(BOOKNAME).odt + $(BOOKNAME).epub: $(TITLE) $(PREFACES) $(CHAPTERS) $(APPENDIXS) cp -r docs/fs-translations/ . cp docs/*.png . @@ -114,5 +116,8 @@ define pdfgen @echo "Done!" endef +$(BOOKNAME).odt: $(PREFACES) $(CHAPTERS) $(APPENDIXS) + pandoc -t odt -o $@ $^ + .PHONY: all book clean epub html |