summaryrefslogtreecommitdiff
path: root/doc/Makefile
blob: dd9ce1367afcba47e850b1a4de070a802eb247f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2019 SiFive Inc.
#
# Documentation Build

.PHONY: all
all: html

###########################
# Build HTML Documentation
###########################

.PHONY: html
html: clean html/index.html

# Use Sphinx to build HTML documentation
html/index.html: sphinx/*
	sphinx-build -b html sphinx html

.PHONY: clean
clean:
	rm -rf html/* html/.buildinfo html/.doctrees