docs: bindings: Add a Makefile
Makes local preview of changes easier to manage.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I67be4b51664c1b31ab183d2e2f9c63faaf34b919
diff --git a/docs/bindings/Makefile b/docs/bindings/Makefile
new file mode 100644
index 0000000..cdf82b5
--- /dev/null
+++ b/docs/bindings/Makefile
@@ -0,0 +1,13 @@
+.PHONY: html
+html: $(patsubst %.md, %.html, $(wildcard *.md))
+
+%.html: %.md
+ markdown2 \
+ --extras=code-friendly \
+ --extras=fenced-code-blocks \
+ --extras=tables \
+ $< > $@
+
+.PHONY: clean
+clean:
+ $(RM) *.html