# You can set these variables from the command line.
# You can set these variables from the command line.
SPHINXOPTS=
SPHINXOPTS=
SPHINXBUILD= sphinx-build
SPHINXBUILD=${VENVDIR}/bin/sphinx-build
PAPER=
PAPER=
BUILDDIR= _build
BUILDDIR= _build
# User-friendly check for sphinx-build
# ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
# $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
@echo"Required Python virtual environment installed at "
@du-sh${VENVDIR}
clean-venv:
rm-rf${VENVDIR}
check-venv:
@command-v${VENVPY}>/dev/null 2>&1 ||\
{printf"You need to prepare the required Python virtual environment";\
printf"\nfor running this software. Excecute, just once:";\
printf"\n\n$$ make setup\n\nor\n\n ";\
printf"$$ make setup PYBIN=<python_binary>\n\nfor specifying a ";\
printf"Python binary other than 'python3', like\n'python-3.x' ";\
printf"(where x is a number) for instance. \n\n";exit 1;}
# User-friendly check for sphinx-build
# ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
# $(error The "'$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/")