Makefile: Use path from configure script for sphinx-build
authorMichael Hanselmann <hansmi@google.com>
Thu, 22 Oct 2009 15:15:28 +0000 (17:15 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 22 Oct 2009 15:24:19 +0000 (17:24 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ken Wehr <ksw@google.com>

Makefile.am

index 651d462..f799d61 100644 (file)
@@ -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)" \