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