-
Notifications
You must be signed in to change notification settings - Fork 157
/
Makefile.old
57 lines (41 loc) · 1.09 KB
/
Makefile.old
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = ODK
SRCDIR = src
TMPDIR = tmp
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help
.PHONY: help Makefile
autobuild:
sphinx-autobuild --poll -p 8080 -H 0.0.0.0 src build
clean:
rm -rf $(TMPDIR)
rm -rf $(BUILDDIR)
clean-files:
rm -rf $(TMPDIR)
rm -rf $(BUILDDIR)/*
copy: clean-files
mkdir $(TMPDIR)
cp -rf $(SRCDIR)/* $(TMPDIR)
build: copy
@$(SPHINXBUILD) -b dirhtml "$(TMPDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
deploy: copy
@$(SPHINXBUILD) -W -b dirhtml "$(TMPDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
build-all: build
latex: build
@$(SPHINXBUILD) -b latex "$(TMPDIR)" "$(BUILDDIR)"/latex $(SPHINXOPTS)
python3 util/resize.py "$(BUILDDIR)"
style-check: build
python3 style-test.py -r $(TMPDIR)
spell-check: build
sphinx-build -b spelling $(TMPDIR) $(BUILDDIR)/spelling
python3 util/check-spelling-output.py $(BUILDDIR)
check: style-check spell-check
check-all: check
test:
pytest