]> matita.cs.unibo.it Git - helm.git/blob - helm/www/matita/Makefile
(dis)organized web stuff
[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: matita.xcf
9         for Y in `seq 0 $(SEQ)`; do \
10                 convert 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 bg.png tmp.png bg$$Y.png;\
13         done;\
14         rm tmp.png              
15
16 clean:
17         for X in `seq 0 $(SEQ)`; do\
18                 rm bg$$X.png;\
19         done
20