-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (36 loc) · 1.44 KB
/
Makefile
File metadata and controls
44 lines (36 loc) · 1.44 KB
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
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS = "-W"
SPHINXBUILD = sphinx-build
SPHINXBUILD_V = sphinx-multiversion
SOURCEDIR = source
BUILDDIR = build
BUILDDIR_I = build/html_internal
BUILDDIR_V = build/html_version
COMMIT = $(shell git rev-parse HEAD)
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
clean:
rm -rf "$(BUILDDIR)"
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -t release
.PHONY: html
html:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -A is_latest=1 -t release
cp -r $(SOURCEDIR)/images/html ./${BUILDDIR}/html/_images/html
.PHONY: ditaxml
ditaxml:
rm -rf ./${BUILDDIR}/doctrees
rm -rf ./${BUILDDIR}/ditaxml
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) -A is_latest=1 -t ditaxml
cp -r $(SOURCEDIR)/images/html ./${BUILDDIR}/ditaxml/_images/html
.PHONY: doxygen
doxygen:
rm -rf source/doxygen/rvc_control/xml source/doxygen/rvc_vision/xml
cp -rp ../src/rvc_control/xml source/doxygen/rvc_control/
cp -rp ../src/rvc_vision/xml source/doxygen/rvc_vision/