Pictures: generate thumb/ directory

This commit is contained in:
Théophile Bastian 2022-02-03 13:17:25 +01:00
parent 591416852a
commit 7119606f52
1 changed files with 4 additions and 1 deletions

View File

@ -7,7 +7,10 @@ CONVERT_OPTIONS = -quality 75 -strip -interlace Plane +repage
all: $(THUMBS)
thumb/%.jpg: full/%.jpg
thumb:
mkdir -p thumb
thumb/%.jpg: full/%.jpg thumb
convert "$<" \
-resize '$(THUMB_DIM)x$(THUMB_DIM)^' \
-gravity "$$(./gravityof.sh "$<")" \