@@ -7,12 +7,12 @@ SPHINXOPTS ?=
77SPHINXBUILD ?= $(PY_ENV_BIN)/sphinx-build
88SPHINX_CONF ?= conf.py
99
10−DOCS_FOLDER = ./$(LXC_ENV_FOLDER)docs
10+DOCS_FOLDER = ./docs
1111DOCS_BUILD = ./$(LXC_ENV_FOLDER)build/docs
1212DOCS_DIST = ./$(LXC_ENV_FOLDER)dist/docs
1313GH_PAGES ?= gh-pages
1414
15−BOOKS_FOLDER = ./$(LXC_ENV_FOLDER)docs
15+BOOKS_FOLDER = ./docs
1616BOOKS_DIST = ./$(LXC_ENV_FOLDER)dist/books
1717
1818ifeq ($(KBUILD_VERBOSE),1)
@@ -56,11 +56,13 @@ docs-help:
5656# requirements
5757# ------------------------------------------------------------------------------
5858
59−sphinx-doc: $(PY_ENV)
59+sphinx-doc-prebuilds:: $(PY_ENV)
60+
61+sphinx-doc: sphinx-doc-prebuilds
6062 @echo "PYENV installing Sphinx$(SPHINXVERS)"
6163 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)'
6264
63−sphinx-live: $(PY_ENV)
65+sphinx-live: sphinx-doc-prebuilds
6466 @echo "PYENV installing Sphinx$(SPHINXVERS)"
6567 $(Q)$(PY_ENV_BIN)/pip install $(PIP_VERBOSE) 'Sphinx$(SPHINXVERS)' sphinx-autobuild
6668
@@ -115,7 +117,7 @@ quiet_cmd_sphinx_clean = CLEAN $@
115117# targets
116118# ------------------------------------------------------------------------------
117119
118−# build PDF of whole documentation in: $(DOCS_DIST)/pdf
120+# build PDF of whole documentation in: $(DOCS_DIST)/pdf
119121
120122PHONY += sphinx-pdf
121123sphinx-pdf: sphinx-latex