From 14abcdcbf0f9e25c704ca042187a073665eabc61 Mon Sep 17 00:00:00 2001 From: Ced Date: Mon, 30 Oct 2023 15:23:59 +0000 Subject: [PATCH] Ensure copy happened before BW conversion as we have subdirs... --- book/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/makefile b/book/makefile index ae96d6b..7a71ac4 100644 --- a/book/makefile +++ b/book/makefile @@ -103,10 +103,10 @@ copy_ebook_files: build_ebook | bw-book-epub # We not convert SVG to B&W or lower res for now as they are super small # anyway -bw-book-epub/OEBPS/%.jpg: %.jpg | bw-book-epub/OEBPS +bw-book-epub/OEBPS/%.jpg: %.jpg copy_ebook_files $(CONVERT_PIC) $< $(REDUCE_PIC) $@ -bw-book-epub/OEBPS/%.png: %.png | bw-book-epub/OEBPS +bw-book-epub/OEBPS/%.png: %.png copy_ebook_files $(CONVERT_PIC) $< $(REDUCE_PIC) $@ epub/bw_book.epub: copy_ebook_files $(bw_images)