From: vsr Date: Wed, 15 Dec 2010 08:57:57 +0000 (+0000) Subject: Fix make install problem caused by previous integration (builddir variable is not... X-Git-Tag: V6_2_0a2~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8e3111f2374de34fc413e6f2934abe77807b0808;p=modules%2Fsmesh.git Fix make install problem caused by previous integration (builddir variable is not always defined) --- 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" \