From d37aceedebb3a2338909d4225fb4e9f09613bd22 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Tue, 28 Mar 2023 17:44:31 +0200 Subject: [PATCH] Makefile: fix check condition --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index edc464b17..bf7b51caf 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ LATEXDEPS = latex dvipng FILELIST = # User-friendly check for sphinx-build -ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) +ifneq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 0) $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD make variable to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the executable's directory to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) endif