forked from mixu/singlepageappbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
21 lines (20 loc) · 1.06 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
book.mobi:
@echo "\n... generating $@"
ebook-convert output/single-page.html output/mixu-single-page-apps.mobi \
--max-levels 0 \
--chapter "//*[@class = 'chapter']" \
--linearize-tables \
--extra-css 'body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, table, th, td, embed, object, hr { padding-left: 0 !important; padding-right: 0 !important; margin-right: 0 !important; margin-left: 0 !important; }' \
--authors "Mikito Takada" \
--language en \
--output-profile kindle
book.epub:
@echo "\n... generating $@"
ebook-convert output/single-page.html output/mixu-single-page-apps.epub \
--max-levels 0 \
--chapter "//*[@class = 'chapter']" \
--linearize-tables \
--extra-css 'body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, table, th, td, embed, object, hr { padding-left: 0 !important; padding-right: 0 !important; margin-right: 0 !important; margin-left: 0 !important; }' \
--authors "Mikito Takada" \
--no-default-epub-cover \
--language en