From 3873cb2474a4d2a985650533ff05d9a110d7de48 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 15 Dec 2010 08:57:42 +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 486b489dc..5a4e74b06 100644 --- a/doc/docutils/Makefile.am +++ b/doc/docutils/Makefile.am @@ -49,7 +49,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." @@ -57,7 +57,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