Source: salt
Version: 2016.11.1+ds-1
Severity: important
Tags: patch

In a minimal build environment (no sphinx), the package cannot initially
clean itself because the upstream doc/Makefile checks for sphinx-build 
executable
and Debian doesn't get any benefit of that.

Please accept the patch that would remove this check completely.
--- doc/Makefile.orig	2017-01-16 11:58:09.260992176 +0300
+++ doc/Makefile	2017-01-16 11:58:44.345281699 +0300
@@ -9,11 +9,6 @@
 SPHINXLANG    =
 XELATEX       = xelatex
 
-# 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/)
-endif
-
 # ----- Translations Support ------------------------------------------------>
 #  If language is set, also set translation options
 ifeq ($(shell [ "x$(SPHINXLANG)" != "x" ] && echo 0 || echo 1), 0)

Reply via email to