summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85716e7..aa2284d 100755
--- a/Makefile
+++ b/Makefile
@@ -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