18 lines
375 B
Makefile
18 lines
375 B
Makefile
.PHONY: all clean doc-watch doc-dependencies
|
|
|
|
all:
|
|
|
|
doc-watch:
|
|
mdbook serve docs --port 8100 --hostname 0.0.0.0
|
|
|
|
doc-dependencies: docs/src/generated/spec/index.md
|
|
|
|
generated/spec/meta.schema.json: spec/meta.schema.yml
|
|
yq . $< > $@
|
|
|
|
docs/src/generated/spec/index.md: generated/spec/meta.schema.json
|
|
mkdir -p generated/spec
|
|
node spec/generate.js
|
|
|
|
clean:
|
|
rm -rf generated
|