From 35fb11e325888382f25ad73d37a38752d279b927 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Thu, 22 Oct 2009 17:15:28 +0200
Subject: [PATCH] Makefile: Use path from configure script for sphinx-build

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ken Wehr <ksw@google.com>
---
 Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 651d462e4..f799d617e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -152,7 +152,7 @@ doc/html: $(docrst) $(docpng) doc/conf.py configure.ac
 	@test -n "$(SPHINX)" || \
 	    { echo 'sphinx-build' not found during configure; exit 1; }
 	mkdir -p doc/build/doctrees
-	PYTHONPATH=.:$(top_builddir) sphinx-build -q -b html \
+	PYTHONPATH=.:$(top_builddir) $(SPHINX) -q -b html \
 	    -d doc/build/doctrees \
 	    -D version="$(VERSION_MAJOR).$(VERSION_MINOR)" \
 	    -D release="$(PACKAGE_VERSION)" \
-- 
GitLab