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