Skip to content

Commit

Permalink
Fix sphinx-build command from make
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Jan 30, 2024
1 parent e5061c5 commit e5f24e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
@@ -1,5 +1,6 @@
VENV := $(shell echo $${VIRTUAL_ENV-.venv})
PYTHON = $(VENV)/bin/python
SPHINX_BUILD = $(shell realpath ${VENV})/bin/sphinx-build
INSTALL_STAMP = $(VENV)/.install.stamp

.PHONY: all
Expand Down Expand Up @@ -34,7 +35,7 @@ format: install
$(VENV)/bin/ruff format src tests

docs: install
cd docs && $(MAKE) html SPHINXBUILD=$(VENV)/bin/sphinx-build
cd docs && $(MAKE) html SPHINXBUILD=$(SPHINX_BUILD)

.IGNORE: clean
clean:
Expand Down

0 comments on commit e5f24e3

Please sign in to comment.