shaka-packager/docs/Makefile
KongQun Yang 9fa56b675d Switch to python3 for sphinx document generator
Python2.7 has just been officially deprecated on Jan 1 2020.

Change-Id: I5b7b5d3955f72c9281b2f602047e07c9d2b9c2a5
2020-01-22 01:27:25 +00:00

21 lines
627 B
Makefile

# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = python3 -msphinx
SPHINXPROJ = ShakaPackager
SOURCEDIR = source
BUILDDIR = ../out/sphinx
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# 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)