2021-12-14 00:34:15 +00:00
|
|
|
clean:
|
2021-12-14 20:09:25 +00:00
|
|
|
rm -r out/ out.epub
|
2021-12-14 02:56:05 +00:00
|
|
|
|
2021-12-14 02:49:28 +00:00
|
|
|
example-gpub:
|
2021-12-14 00:34:15 +00:00
|
|
|
cd example-gpub; zip -r ../example-book.gpub *; cd -
|
2021-12-14 02:56:05 +00:00
|
|
|
|
2021-12-14 02:49:28 +00:00
|
|
|
epub:
|
2022-01-10 17:44:47 +00:00
|
|
|
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
|
2021-12-14 02:56:05 +00:00
|
|
|
|
2021-12-14 01:07:14 +00:00
|
|
|
example:
|
|
|
|
awk -f g2e.awk example-gpub/
|