Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 450 Bytes
NODE_BIN = /usr/bin/env node
all: doc
rm -rf out
docs_out = out/doc
docs_md = $(wildcard doc/*.md)
docs_html = $(addprefix out/,$(
doc: $(docs_out) $(docs_html)
mkdir -p $@
mkdir -p $@/assets
cp doc/template/doc.css out/doc/assets/doc.css
out/doc/%: doc/%
cp $< $@
out/doc/%.html: doc/
$(NODE_BIN) tools/doctool/doctool.js doc/template/template.html $< > $@
.PHONY: clean
Something went wrong with that request. Please try again.