2012-05-13 20:48:51 +02:00
|
|
|
SRC=$(wildcard *.txt)
|
|
|
|
HTMLFRAGMENT=$(addsuffix .html, $(basename $(SRC)))
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
2012-05-22 09:25:39 +02:00
|
|
|
all: html code epydoc
|
2012-05-13 20:48:51 +02:00
|
|
|
# make -C ./build/code all
|
|
|
|
# make -C ./build/test all
|
|
|
|
# make -C ./build all
|
|
|
|
|
|
|
|
html: $(HTMLFRAGMENT)
|
|
|
|
|
|
|
|
%.html: %.txt
|
|
|
|
./rst2html.py --stylesheet ./build/style.css $< > ./build/$@
|
|
|
|
|
|
|
|
code:
|
|
|
|
./code2html
|
|
|
|
|
2012-05-22 09:25:39 +02:00
|
|
|
epydoc:
|
|
|
|
./epydoc.sh
|
|
|
|
|
2012-05-13 20:48:51 +02:00
|
|
|
clean:
|
|
|
|
make -C ./build clean
|
|
|
|
|