diff options
author | Tong Hui <tonghuix@gmail.com> | 2016-09-30 21:49:58 +0800 |
---|---|---|
committer | Tong Hui <tonghuix@gmail.com> | 2016-09-30 21:49:58 +0800 |
commit | 8f08822a87a87272da2ca04c940448e1c9826fdc (patch) | |
tree | a5b63334e3a71ae658f243aec3ed96fc7423f19e | |
parent | 7bf09e83b31f9824bb3557c481e95c0fa43cdc0d (diff) | |
download | fsfs-zh-8f08822a87a87272da2ca04c940448e1c9826fdc.tar.xz |
add support for ODT
-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 |