diff --git a/Makefile b/Makefile index 5c189d9..bc38851 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,9 @@ example-gpub: cd example-gpub; zip -r ../example-book.gpub *; cd - epub: - cd out; zip -r ../out.epub *; cd - + find . -name "out.epub" -exec rm {} \; + cd out; zip -X ../out.epub mimetype + cd out; zip -rg ../out.epub META-INF content.opf style.css toc.ncx book example: awk -f g2e.awk example-gpub/