summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
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
+