|
UML_TARGETS=$(shell for file in *.uml; do echo $${file%.uml}.png; done) |
|
1 |
RST_TARGETS=$(shell for file in *.rst; do echo $${file%.rst}.html; done) |
RST_TARGETS=$(shell for file in *.rst; do echo $${file%.rst}.html; done) |
2 |
|
|
3 |
all: $(UML_TARGETS) $(RST_TARGETS) |
all: $(RST_TARGETS) |
4 |
|
|
5 |
showtargets: |
showtargets: |
6 |
echo $(RST_TARGETS) $(UML_TARGETS) |
echo $(RST_TARGETS) |
7 |
|
|
8 |
clean: |
clean: |
9 |
rm -f *.gen1 *.gen2 *.gen3 *.html *.log *.1 *.png |
rm -f *.html |
|
|
|
|
%.png: %.uml %.mp |
|
|
MPINPUTS=../../../metacode python ../../../metacode/uml.py $* |
|
10 |
|
|
11 |
%.html: %.rst |
%.html: %.rst |
12 |
# python ../../../../depends/rst2html.py -stg --stylesheet '../../../doc/gzz.css' *.rst >$*.html |
make -C ../../../ rst2html RST="Documentation/misc/uml/$*.rst" |
|
make -C ../../../ runjython DBG="../depends/rst2html.py -stg --stylesheet '../../../doc/gzz.css' Documentation/misc/uml/$*.rst Documentation/misc/uml/$*.html" |
|
|
|
|
13 |
|
|
14 |
|
|