summaryrefslogtreecommitdiff
path: root/doc/Makefile
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-02-06 19:15:22 +0000
committerGitHub <noreply@github.com>2019-02-06 19:15:22 +0000
commit30837cf2279ec60989898a0d8ef5a1934bd443c0 (patch)
tree40b70bb9de7ec17e6ce5e8b876eaad0a07a210e1 /doc/Makefile
parent4c20f5158e506f3c13cf66d5259a6399a6b4b2a3 (diff)
parent8565ab59da981d542febae1e93281c09c447c50c (diff)
Merge pull request #169 from sifive/documentation
Add initial documentation
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
+