images: Added Makefile for resizing.
This commit is contained in:
parent
a077fe0216
commit
1fcac77398
1 changed files with 9 additions and 0 deletions
9
images/Makefile
Normal file
9
images/Makefile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
SPRITE_PCENT=15
|
||||||
|
|
||||||
|
resize:
|
||||||
|
-mkdir $(SPRITE_PCENT)p
|
||||||
|
for i in fullsize/*; do \
|
||||||
|
convert -resize $(SPRITE_PCENT)% $$i $${i/fullsize/$(SPRITE_PCENT)p}; \
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in a new issue