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