summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTong Hui <tonghuix@gmail.com>2016-09-30 22:51:53 +0800
committerTong Hui <tonghuix@gmail.com>2016-09-30 22:51:53 +0800
commit03eee546eed0ce0ddac8a86e5d6db754b7565fe3 (patch)
treece2358e3071ce291f82789bfc46a8a91e2328bee /Makefile
parent8f08822a87a87272da2ca04c940448e1c9826fdc (diff)
downloadfsfs-zh-03eee546eed0ce0ddac8a86e5d6db754b7565fe3.tar.xz
better epub
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aa2284d..92fdeea 100755
--- a/Makefile
+++ b/Makefile
@@ -68,10 +68,10 @@ book: epub html pdf odf
clean:
rm $(BOOKNAME).*
- rm -r site
rm *.tex *.aux *.fot *.toc *.log *.out
rm -fr fs-translations
rm *.png
+ rm -r site
epub: $(BOOKNAME).epub
@@ -84,7 +84,7 @@ odf: $(BOOKNAME).odt
$(BOOKNAME).epub: $(TITLE) $(PREFACES) $(CHAPTERS) $(APPENDIXS)
cp -r docs/fs-translations/ .
cp docs/*.png .
- pandoc $(TOC) -S --epub-metadata=$(METADATA) --epub-cover-image=$(COVER_IMAGE) -o $@ $^
+ pandoc $(TOC) -S -t epub3 --epub-metadata=$(METADATA) --epub-cover-image=$(COVER_IMAGE) -o $@ $^
rm -fr fs-translations
rm *.png