OpenDroneMap-docs/Makefile

28 wiersze
940 B
Makefile
Czysty Zwyk艂y widok Historia

2018-03-11 16:49:17 +00:00
# makefile for Sphinx documentation
# =================================
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SPHINXPROJ = OpenDroneMap
SOURCEDIR = source
BUILDDIR = _build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
livehtml:
2018-03-11 18:33:15 +00:00
sphinx-autobuild --open-browser -b html "$(SOURCEDIR)" "$(BUILDDIR)"
deploy:
@$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" -nW
# -n Run in nit-picky mode. Currently, this generates warnings for all missing references.
# -W Turn warnings into errors that stop the build.
2018-03-11 16:49:17 +00:00
# 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)