2012-07-13 09:40:48 +02:00
|
|
|
SRC=$(wildcard *.txt)
|
|
|
|
HTMLFRAGMENT=$(addsuffix .html, $(basename $(SRC)))
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
|
|
|
|
.PHONY: all clean
|
|
|
|
|
2012-11-14 11:33:49 +01:00
|
|
|
all: html code
|
2012-07-13 09:40:48 +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
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C ./build clean
|
|
|
|
|