Add infrastructure for User Guide
This change adds a little infrastructure for creating an OpenBMC User's
Guide, from the user-related documents in markdown.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..82ec1c3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+
+# we need xelatex for utf-8 support
+tex = xelatex
+
+all: userguide.pdf
+
+.PHONY: all clean
+
+userguide.pdf: userguide/userguide.tex
+ $(tex) $^
+
+userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex
+
+%.tex: %.md
+ pandoc -o $@ $^
+
+clean:
+ rm -f *.aux *.tex *.out *.pdf