From 8e3111f2374de34fc413e6f2934abe77807b0808 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 15 Dec 2010 08:57:57 +0000 Subject: [PATCH] Fix make install problem caused by previous integration (builddir variable is not always defined) --- doc/docutils/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/docutils/Makefile.am b/doc/docutils/Makefile.am index 1d61c5f63..3e09cb60f 100644 --- a/doc/docutils/Makefile.am +++ b/doc/docutils/Makefile.am @@ -47,7 +47,7 @@ htm: mkdir -p html doctrees PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \ LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \ - $(SPHINXBUILD) -c $(builddir) -W -b html $(ALLSPHINXOPTS) html + $(SPHINXBUILD) -c $(top_builddir)/doc/docutils -W -b html $(ALLSPHINXOPTS) html @echo @echo "Build finished. The HTML pages are in html." @@ -55,7 +55,7 @@ latex: mkdir -p latex doctrees PYTHONPATH=$(SPHINX_PYTHONPATH):${PYTHONPATH}; \ LD_LIBRARY_PATH=$(SPHINX_LD_LIBRARY_PATH):${LD_LIBRARY_PATH}; \ - $(SPHINXBUILD) -c $(builddir) -W -b latex $(ALLSPHINXOPTS) latex + $(SPHINXBUILD) -c $(top_builddir)/doc/docutils -W -b latex $(ALLSPHINXOPTS) latex @echo @echo "Build finished; the LaTeX files are in latex." @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \ -- 2.39.2