From c35ea7d2a4f72eec5b730cee90cec3819887c174 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Wed, 22 Feb 2023 23:27:29 -0500 Subject: webp: fix makefile dependency bug The prebuild where it generates the directory structure wasn't a dependency for the build part so it was causing parallel jobs to fail since there wasn't directories to put the output files. --- webp/Makefile.double | 4 ++-- webp/Makefile.single | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'webp') diff --git a/webp/Makefile.double b/webp/Makefile.double index 490fd56..d81338b 100644 --- a/webp/Makefile.double +++ b/webp/Makefile.double @@ -30,9 +30,9 @@ pre-build-low: main-build-high: ${HIGH_OUT} main-build-low: ${LOW_OUT} -${HIGH_OUT_DIR}/%.webp: ${SRC_DIR}/%.* +${HIGH_OUT_DIR}/%.webp: ${SRC_DIR}/%.* pre-build-high cwebp ${HIGH_WEBP_OPT} "$<" -o "$@" -${LOW_OUT_DIR}/%.webp: ${SRC_DIR}/%.* +${LOW_OUT_DIR}/%.webp: ${SRC_DIR}/%.* pre-build-low cwebp ${LOW_WEBP_OPT} "$<" -o "$@" clean: diff --git a/webp/Makefile.single b/webp/Makefile.single index a34f1d2..2010137 100644 --- a/webp/Makefile.single +++ b/webp/Makefile.single @@ -18,7 +18,7 @@ pre-build: main-build: ${OUT} -${OUT_DIR}/%.webp: ${SRC_DIR}/%.png +${OUT_DIR}/%.webp: ${SRC_DIR}/%.png pre-build cwebp ${WEBP_OPT} "$<" -o "$@" clean: -- cgit v1.2.3