]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix doc generation when compiling with PaCO++
authorribes <ribes>
Wed, 23 Nov 2011 16:55:56 +0000 (16:55 +0000)
committerribes <ribes>
Wed, 23 Nov 2011 16:55:56 +0000 (16:55 +0000)
doc/docutils/Makefile.am

index 217fd91deed3d24a5bae1fa7c723ee726b06c29e..513aa541e7b5881968146e69a0d639e9dd086c97 100644 (file)
@@ -41,11 +41,14 @@ SPHINXBUILD     = sphinx-build
 PAPEROPT_a4     = -D latex_paper_size=a4
 ALLSPHINXOPTS   = -d doctrees $(PAPEROPT_a4) $(SPHINXOPTS) $(SOURCEDIR)
 
+if WITH_PACO_PARALLEL
+SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/bin/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages:$(PACOPATH)/lib/python$(PYTHON_VERSION):$(PACOPATH)/lib/python
+else
 SPHINX_PYTHONPATH = $(prefix)/lib/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/lib64/python$(PYTHON_VERSION)/site-packages/salome:$(prefix)/bin/salome:$(OMNIORB_ROOT)/lib/python$(PYTHON_VERSION)/site-packages:$(OMNIORB_ROOT)/lib64/python$(PYTHON_VERSION)/site-packages
+endif
 
 SPHINX_LD_LIBRARY_PATH = $(OMNIORB_ROOT)/lib
 
-
 .PHONY: latex
 
 if SPHINX_IS_OK