diff options
author | Brian Woods | 2023-02-22 16:42:02 -0500 |
---|---|---|
committer | Brian Woods | 2023-02-22 16:48:08 -0500 |
commit | eba1e1e7479224d6f9fdbe47cf7dcedc69954c3e (patch) | |
tree | c010518e27ee1c225f350b67f9eecbf1bd5a8228 /webp/Makefile.double | |
parent | 3846be2ff4b06371a02546aa7a8b6aa3c4b8fa98 (diff) |
webp: fixed a bug
src/ was hard coded in the find command, changed that to ${SRC_DIR}
Diffstat (limited to 'webp/Makefile.double')
-rw-r--r-- | webp/Makefile.double | 4 |
1 files changed, 2 insertions, 2 deletions
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)) \ |