From 322349581a472ac5e984c202f972049bc6e53f5a Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 24 Mar 2021 22:59:41 +0100 Subject: [PATCH] FIX: Checkout before telling the user to install Sphinx. (#1575) So they use the Sphinx required from our branch, not the Sphinx from another random branch. Fixes: #1556 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 1e5f1c60..e3202f58 100644 --- a/Makefile +++ b/Makefile @@ -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"; \