summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2018-08-25 13:51:07 -0400
committerPaul Woolcock <paul@woolcock.us>2018-08-25 13:55:29 -0400
commit272b17190ff40b5c80abefc5316a696cc4dda623 (patch)
tree892a3bb98146b4ea86ae4cda9cefc7a1e6f4ed30 /Makefile
parent55793f22e3a9bb0750f841ed5a3e66349a78312a (diff)
add a Makefile to collect commands in
Right now it just adds the `make book` command
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1c9c7fb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+DOCS := $(PWD)/docs
+
+book: $(DOCS)/guide/index.html
+
+$(DOCS)/guide/index.html: $(DOCS)/src/*.md
+ cd docs && mdbook build
+
+.PHONY: book