diff --git a/pictures/Makefile b/pictures/Makefile index d64cfeb..9ad278b 100644 --- a/pictures/Makefile +++ b/pictures/Makefile @@ -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 "$<")" \