Pictures: generate thumb/ directory
This commit is contained in:
parent
591416852a
commit
7119606f52
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ CONVERT_OPTIONS = -quality 75 -strip -interlace Plane +repage
|
||||||
|
|
||||||
all: $(THUMBS)
|
all: $(THUMBS)
|
||||||
|
|
||||||
thumb/%.jpg: full/%.jpg
|
thumb:
|
||||||
|
mkdir -p thumb
|
||||||
|
|
||||||
|
thumb/%.jpg: full/%.jpg thumb
|
||||||
convert "$<" \
|
convert "$<" \
|
||||||
-resize '$(THUMB_DIM)x$(THUMB_DIM)^' \
|
-resize '$(THUMB_DIM)x$(THUMB_DIM)^' \
|
||||||
-gravity "$$(./gravityof.sh "$<")" \
|
-gravity "$$(./gravityof.sh "$<")" \
|
||||||
|
|
Loading…
Reference in a new issue