diff options
Diffstat (limited to 'book/GNUmakefile')
| -rw-r--r-- | book/GNUmakefile | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/book/GNUmakefile b/book/GNUmakefile index 4467822b..c80844ee 100644 --- a/book/GNUmakefile +++ b/book/GNUmakefile @@ -29,12 +29,12 @@ book.json: book.js  $(wordlist 2,99,$(png_pages)): $(word 1,$(png_pages))  out/book_01.%.png: book.typ book.json locale/%.ini out -	typst compile --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).png +	typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).png  $(wordlist 2,99,$(svg_pages)): $(word 1,$(svg_pages))  out/book_01.%.svg: book.typ book.json locale/%.ini out -	typst compile --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).svg +	typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< out/book_\{n\}.$(subst out/,,$(*)).svg  out/book.%.pdf: book.typ book.json locale/%.ini out -	typst compile --input lang=$(subst out/,,$(*)) $< $@ +	typst compile --font-path assets/fonts --input lang=$(subst out/,,$(*)) $< $@  out/%.webp: out/%.png  	ffmpeg -i $< -y $@ | 
