mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2026-02-27 16:47:14 -06:00
makefile cleanup and added folders to .gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -42,3 +42,5 @@ book/book-epub/
|
||||
book/bw-book-epub/*
|
||||
book/release/*
|
||||
book/low-res-book-epub/*
|
||||
book/epub_build/*
|
||||
book/website_build/*
|
||||
|
||||
@@ -10,8 +10,7 @@ REDUCE_PIC := -resize '800x800>' \
|
||||
-strip -interlace Plane -gaussian-blur 0.05 -quality 85\% \
|
||||
-set colorspace Gray -separate -evaluate-sequence Mean
|
||||
REDUCE_PIC_COLOR := -quality 80\%
|
||||
RSYNC := rsync -au --exclude 'book.epub' --exclude '*.jpg' --exclude '*.png'
|
||||
RSYNC_INC_PNG := rsync -au --exclude 'book.epub' --exclude '*.jpg'
|
||||
RSYNC := rsync -au --exclude 'book.epub' --exclude '*.jpg'
|
||||
GIT := git --no-pager
|
||||
SPELL_CHECK := hunspell -t -l -d en_US
|
||||
|
||||
@@ -116,10 +115,10 @@ epub/%.epub: %.tex $(ebook_src) cover/cover-page.xbb
|
||||
$(EBOOK) $<
|
||||
|
||||
copy_ebook_files: build_ebook
|
||||
$(RSYNC) epub_build/book-epub/ bw-book-epub/
|
||||
$(RSYNC) --exclude '*.png' epub_build/book-epub/ bw-book-epub/
|
||||
|
||||
copy_ebook_files_low_res: build_ebook
|
||||
$(RSYNC_INC_PNG) epub_build/book-epub/ low-res-book-epub/
|
||||
$(RSYNC) epub_build/book-epub/ low-res-book-epub/
|
||||
|
||||
# We do not convert SVG to B&W or lower res for now as they are super small
|
||||
# anyway
|
||||
|
||||
Reference in New Issue
Block a user