SIZE_X=426
SIZE_Y=70
+SEQ=3
+
all: matita.xcf
- convert matita.xcf matita.png
- for Y in `seq 0 3`; do \
+ for Y in `seq 0 $(SEQ)`; do \
convert matita.png -crop \
$(SIZE_X)x$(SIZE_Y)+$(MARGIN_X)+`expr $(MARGIN_Y) + $$Y '*' '(' $(SIZE_Y) + 1 ')'` tmp.png; \
composite -compose src-over bg.png tmp.png bg$$Y.png;\
done;\
rm tmp.png
+clean:
+ for X in `seq 0 $(SEQ)`; do\
+ rm bg$$X.png;\
+ done
+