summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-01-29 13:32:11 -0800
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-02-06 11:09:41 -0800
commit0df6996fcbd3cdfbb7614b4fcc7e83e41cea1f23 (patch)
treeb4f9020ccad976c5afef67384be7177bdd0e95e3 /doc/Makefile
parent4c20f5158e506f3c13cf66d5259a6399a6b4b2a3 (diff)
Init Sphinx docs for E SDK
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'doc/Makefile')
-rw-r--r--doc/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..972a080
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,22 @@
+# Copyright (c) 2019 SiFive Inc.
+#
+# Documentation Build
+
+.PHONY: all
+all: html
+
+###########################
+# Build HTML Documentation
+###########################
+
+.PHONY: html
+html: html/index.html
+
+# Use Sphinx to build HTML from Doxygen XML
+html/index.html: sphinx/*
+ sphinx-build -b html sphinx html
+
+.PHONY: clean
+clean:
+ rm -rf html
+