images Makefile: sprites are now created in the "sprites" directory.

This commit is contained in:
Glenn Y. Rolland 2011-02-12 16:11:51 +01:00
parent dc3cb3d02c
commit 6d63d09c64

View file

@ -1,9 +1,7 @@
SPRITE_PCENT=15
resize:
-mkdir $(SPRITE_PCENT)p
rm -f sprites && mkdir sprites
for i in fullsize/*; do \
convert -resize $(SPRITE_PCENT)% $$i $${i/fullsize/$(SPRITE_PCENT)p}; \
convert -resize 15% $$i $${i/fullsize/sprites}; \
done