]> matita.cs.unibo.it Git - helm.git/blob - helm/www/matita/Makefile
added bg
[helm.git] / helm / www / matita / Makefile
1 MARGIN_X=30
2 MARGIN_Y=206
3 SIZE_X=426
4 SIZE_Y=70
5
6 SEQ=3
7
8 all: images/matita.xcf
9         for Y in `seq 0 $(SEQ)`; do \
10                 convert images/matita.png -crop \
11                         $(SIZE_X)x$(SIZE_Y)+$(MARGIN_X)+`expr $(MARGIN_Y) + $$Y '*' '(' $(SIZE_Y) + 1 ')'` tmp.png; \
12                 composite -compose src-over images/bg.png tmp.png images/bg$$Y.png;\
13         done;\
14         rm tmp.png              
15
16 clean:
17         for X in `seq 0 $(SEQ)`; do\
18                 rm images/bg$$X.png;\
19         done
20