@@ -7,12 +7,12 @@ SPHINXOPTS ?=
7SPHINXBUILD ?= $(PY_ENV_BIN)/sphinx-build
7SPHINXBUILD ?= $(PY_ENV_BIN)/sphinx-build
8SPHINX_CONF ?= conf.py
8SPHINX_CONF ?= conf.py
10−DOCS_FOLDER = ./$(LXC_ENV_FOLDER)docs
10+DOCS_FOLDER = ./docs
11DOCS_BUILD = ./$(LXC_ENV_FOLDER)build/docs
11DOCS_BUILD = ./$(LXC_ENV_FOLDER)build/docs
12DOCS_DIST = ./$(LXC_ENV_FOLDER)dist/docs
12DOCS_DIST = ./$(LXC_ENV_FOLDER)dist/docs
13GH_PAGES ?= gh-pages
13GH_PAGES ?= gh-pages
15−BOOKS_FOLDER = ./$(LXC_ENV_FOLDER)docs
15+BOOKS_FOLDER = ./docs
16BOOKS_DIST = ./$(LXC_ENV_FOLDER)dist/books
16BOOKS_DIST = ./$(LXC_ENV_FOLDER)dist/books
18ifeq ($(KBUILD_VERBOSE),1)
18ifeq ($(KBUILD_VERBOSE),1)
@@ -56,11 +56,13 @@ docs-help:
56# requirements
56# requirements
57# ------------------------------------------------------------------------------
57# ------------------------------------------------------------------------------
59−sphinx-doc: $(PY_ENV)
59+sphinx-doc-prebuilds:: $(PY_ENV)
61+sphinx-doc: sphinx-doc-prebuilds
60 @echo "PYENV installing Sphinx$(SPHINXVERS)"
62 @echo "PYENV installing Sphinx$(SPHINXVERS)"
61 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)'
63 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)'
63−sphinx-live: $(PY_ENV)
65+sphinx-live: sphinx-doc-prebuilds
64 @echo "PYENV installing Sphinx$(SPHINXVERS)"
66 @echo "PYENV installing Sphinx$(SPHINXVERS)"
65 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)' sphinx-autobuild
67 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)' sphinx-autobuild
@@ -115,7 +117,7 @@ quiet_cmd_sphinx_clean = CLEAN $@
116# ------------------------------------------------------------------------------
118# ------------------------------------------------------------------------------
118−# build PDF of whole documentation in: $(DOCS_DIST)/pdf
120+# build PDF of whole documentation in: $(DOCS_DIST)/pdf
120PHONY += sphinx-pdf
122PHONY += sphinx-pdf
121sphinx-pdf: sphinx-latex
123sphinx-pdf: sphinx-latex