From eba1e1e7479224d6f9fdbe47cf7dcedc69954c3e Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Wed, 22 Feb 2023 16:42:02 -0500 Subject: webp: fixed a bug src/ was hard coded in the find command, changed that to ${SRC_DIR} --- webp/Makefile.double | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'webp/Makefile.double') diff --git a/webp/Makefile.double b/webp/Makefile.double index 18a1f8b..490fd56 100644 --- a/webp/Makefile.double +++ b/webp/Makefile.double @@ -8,8 +8,8 @@ LOW_OUT_DIR=low_quality HIGH_WEBP_OPT=-near_lossless 60 LOW_WEBP_OPT=-af -pass 6 -psnr 38 -SRC_PNG=$(shell find src/ -type f -iname '*.png') -SRC_WEBP=$(shell find src/ -type f -iname '*.webp') +SRC_PNG=$(shell find ${SRC_DIR}/ -type f -iname '*.png') +SRC_WEBP=$(shell find ${SRC_DIR}/ -type f -iname '*.webp') HIGH_OUT=$(patsubst ${SRC_DIR}/%.png, ${HIGH_OUT_DIR}/%.webp, $(SRC_PNG)) \ $(patsubst ${SRC_DIR}/%.webp, ${HIGH_OUT_DIR}/%.webp, $(SRC_WEBP)) LOW_OUT=$(patsubst ${SRC_DIR}/%.png, ${LOW_OUT_DIR}/%.webp, $(SRC_PNG)) \ -- cgit v1.2.3