Skip to content

Commit

Permalink
FIX: Checkout before telling the user to install Sphinx. (#1575)
Browse files Browse the repository at this point in the history
So they use the Sphinx required from our branch, not the Sphinx from another random branch.

Fixes: #1556
  • Loading branch information
JulienPalard committed Mar 24, 2021
1 parent 7f7a3d9 commit 3223495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ ensure_prerequisites:
exit 1; \
fi
@if ! (blurb help >/dev/null 2>&1 && sphinx-build --version >/dev/null 2>&1); then \
git -C $(CPYTHON_PATH) checkout $(BRANCH); \
echo "You're missing dependencies, please enable a venv and install:"; \
echo ""; \
echo " python -m pip install -r requirements.txt -r $(CPYTHON_PATH)/Doc/requirements.txt"; \
Expand Down

0 comments on commit 3223495

Please sign in to comment.