mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-09 04:31:11 -06:00
Fix merge errors
Some checks are pending
Some checks are pending
This commit is contained in:
@@ -127,6 +127,9 @@ booklet/booklet.pdf: $(booklet_src)
|
|||||||
epub/%.epub: %.tex $(ebook_src) cover/cover-page.xbb
|
epub/%.epub: %.tex $(ebook_src) cover/cover-page.xbb
|
||||||
$(EBOOK) $<
|
$(EBOOK) $<
|
||||||
|
|
||||||
|
copy_ebook_files: build_ebook
|
||||||
|
$(RSYNC) --exclude '*.png' epub_build/book-epub/ bw-book-epub/
|
||||||
|
|
||||||
# Now that we have built the ebook we will generate 2 more versions
|
# Now that we have built the ebook we will generate 2 more versions
|
||||||
#
|
#
|
||||||
# 1) With kindle app on phone we want a colour version with size < 50 MB
|
# 1) With kindle app on phone we want a colour version with size < 50 MB
|
||||||
@@ -150,7 +153,7 @@ epub/bw_book.epub: copy_ebook_files $(bw_images)
|
|||||||
|
|
||||||
# Now the low res
|
# Now the low res
|
||||||
copy_ebook_files_low_res: ebook
|
copy_ebook_files_low_res: ebook
|
||||||
$(RSYNC) epub_build/book_sans_serif-epub/ low-res-book-epub/
|
$(RSYNC) epub_build/book-epub/ low-res-book-epub/
|
||||||
|
|
||||||
low-res-book-epub/OEBPS/%.jpg: %.jpg
|
low-res-book-epub/OEBPS/%.jpg: %.jpg
|
||||||
mkdir -p $(dir $@)
|
mkdir -p $(dir $@)
|
||||||
@@ -164,10 +167,10 @@ epub/low_res_book.epub: copy_ebook_files_low_res $(low_res_images)
|
|||||||
# Website {{{
|
# Website {{{
|
||||||
###################################
|
###################################
|
||||||
.PHONY: html website
|
.PHONY: html website
|
||||||
$(website_dir)/book_sans_serif.html: $(website_src) cover/cover-page.xbb
|
$(website_dir)/book.html: $(website_src) cover/cover-page.xbb
|
||||||
$(WEBSITE) -d $(website_dir) book_sans_serif.tex
|
$(WEBSITE) -d $(website_dir) book.tex
|
||||||
|
|
||||||
html: $(website_dir)/book_sans_serif.html
|
html: $(website_dir)/book.html
|
||||||
cp $< $(website_dir)/index.html
|
cp $< $(website_dir)/index.html
|
||||||
|
|
||||||
# Because packages will be installed in hard to predict places use a file as
|
# Because packages will be installed in hard to predict places use a file as
|
||||||
@@ -204,7 +207,7 @@ booklet: booklet/booklet.pdf
|
|||||||
serif: book_serif/book.pdf
|
serif: book_serif/book.pdf
|
||||||
sans_serif: book_sans_serif/book_sans_serif.pdf
|
sans_serif: book_sans_serif/book_sans_serif.pdf
|
||||||
|
|
||||||
ebook: epub/book_sans_serif.epub
|
ebook: epub/book.epub
|
||||||
bw_ebook: epub/bw_book.epub
|
bw_ebook: epub/bw_book.epub
|
||||||
low_res_ebook: epub/low_res_book.epub
|
low_res_ebook: epub/low_res_book.epub
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user